/**
 * Admin Styles for Viable URL Media Uploader
 */

/* ---------- Global Colors ---------- */
:root {
    --vumu-gradient: linear-gradient(90deg, #0073aa, #00d4c5);
    --vumu-dark: #0073aa;
    --vumu-light: #00d4c5;
}

/* ---------- Global Layout ---------- */
.media_page_vumu-upload-from-url {
	background: linear-gradient(135deg, #e8faff 0%, #f5fbff 100%);
}
/* ---------- Header ---------- */
.vumu-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.vumu-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.vumu-logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #0b2545;
}

/* ============================
   Upload Box Styling
============================ */
.vumu-upload-box {
  max-width: 850px;
  margin: 50px auto;
  background: #fff;
  border-radius: 10px;
  padding: 40px 50px;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Gradient border */
.vumu-upload-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1.5px;
  background: var(--vumu-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Title */
.vumu-upload-box h3,
.vumu-upload-box h2 {
  text-align: center;
  color: var(--vumu-dark);
  font-weight: 800;
  margin-bottom: 25px;
  font-size: 26px;
  background: linear-gradient(to right, #0073AA 0%, #00D4C5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

/* Hide label column */
.vumu-upload-box .form-table th {
  display: none;
}

.vumu-upload-box .form-table td {
  display: block;
  text-align: center;
}

/* Input Field */
.vumu-upload-box input#vumu-url-input {
  width: 100%;
  max-width: 750px;
  padding: 12px 16px;
  border-radius: 6px;
  border: 2px solid transparent;
      background: linear-gradient(#e9e9e9, #e9e9e9) padding-box, var(--vumu-gradient) border-box;
  outline: none;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.vumu-upload-box input#vumu-url-input:focus {
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

/* Description */
.vumu-upload-box .description {
  text-align: center;
  margin-top: 6px;
  font-size: 13px;
  color: #666;
  font-style: italic;
}

/* Submit Button */
.vumu-upload-box .submit {
  text-align: center;
  margin-top: 25px;
}

#vumu-upload-btn {
  background: var(--vumu-gradient);
  border: none;
  color: #fff;
  padding: 14px 0;
  width: 100%;
  max-width: 750px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#vumu-upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 115, 170, 0.3);
}

/* ---------- Custom Messages ---------- */
.vumu-message {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

.vumu-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--vumu-gradient);
}

.vumu-message-error {
  background: linear-gradient(135deg, #fff5f5 0%, #fef2f2 100%);
  border: 1px solid #fecaca;
  color: #991b1b;
}

.vumu-message-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.vumu-message-content {
  flex: 1;
}

.vumu-message-content strong {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 15px;
}

.vumu-message-content p {
  margin: 0;
  line-height: 1.5;
}

 
/* ---------- Info Section ---------- */
.vumu-info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 950px;
  margin: 60px auto 0;
}

/* ---------- Cards ---------- */
.vumu-card {
  flex: 1 1 300px;
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 30px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

/* Gradient border (same for all) */
.vumu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: var(--vumu-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.vumu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* ---------- Icon Circle ---------- */
.vumu-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--vumu-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 8px rgba(0, 115, 170, 0.25);
}

/* ---------- Card Text ---------- */
.vumu-card h3 {
  color: #000;
  text-align: left;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 12px;
}

.vumu-card p,
.vumu-card li {
  font-size: 14px;
  color: #000;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}

.vumu-card ul {
  margin-top: 10px;
  padding-left: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .vumu-upload-box {
    padding: 25px;
  }

  .vumu-info-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* ---------- Hide Admin Notices from Other Plugins ---------- */
.media_page_vumu-upload-from-url .notice:not(.vumu-message):not(.vumu-message-error):not(.vumu-message-success):not(.vumu-message-warning):not(.vumu-message-info),
.media_page_vumu-upload-from-url .notice-error:not(.vumu-message-error),
.media_page_vumu-upload-from-url .notice-success:not(.vumu-message-success),
.media_page_vumu-upload-from-url .notice-warning:not(.vumu-message-warning),
.media_page_vumu-upload-from-url .notice-info:not(.vumu-message-info),
.media_page_vumu-upload-from-url .update-nag,
.media_page_vumu-upload-from-url .updated {
  display: none !important;
}