@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #4361ee;
  --secondary-color: #3a0ca3;
  --accent-color: #4cc9f0;
  --text-color: #2b2d42;
  --light-text: #8d99ae;
  --background-color: #f8f9fa;
  --card-bg: #ffffff;
  --success-color: #2ecc71;
  --error-color: #e74c3c;
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 20px;
}

.Share-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.Share_div {
  display: flex;
  justify-content: center;
}

.Share_inner {
  background: var(--card-bg);
  color: var(--text-color);
  max-width: 550px;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}
.upload-box {
  border: 2px dashed var(--primary-color);
  border-radius: var(--border-radius);
  padding: 50px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  background-color: rgba(67, 97, 238, 0.05);
  margin: 30px 0;
  position: relative;
}

.upload-box:hover {
  background: rgba(67, 97, 238, 0.1);
  transform: translateY(-5px);
}

.upload-box p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-color);
}

.upload-box::before {
  content: '📤';
  font-size: 48px;
  display: block;
  margin-bottom: 15px;
}

input[type="text"] {
  width: 100%;
  padding: 15px;
  margin: 15px 0;
  border-radius: var(--border-radius);
  border: 1px solid #e0e0e0;
  outline: none;
  font-size: 16px;
  box-sizing: border-box;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Inter', sans-serif;
}

input[type="text"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

button {
  padding: 15px 25px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}
/* Progress Bar */
#progressContainer {
  margin-top: 20px;
}

progress {
  width: 100%;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #e0e0e0;
  appearance: none;
}

progress::-webkit-progress-bar {
  background-color: #e0e0e0;
  border-radius: 6px;
}

progress::-webkit-progress-value {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 6px;
  transition: width 0.3s ease;
}

progress::-moz-progress-bar {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 6px;
}

#uploadStatus {
  font-size: 14px;
  margin-top: 10px;
  color: var(--light-text);
  text-align: center;
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  color: var(--text-color);
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
}

.faq-toggle {
  width: 100%;
  padding: 20px;
  text-align: left;
  border: none;
  outline: none;
  font-size: 17px;
  font-weight: 600;
  background: var(--background-color);
  color: var(--text-color);
  cursor: pointer;
  border-radius: var(--border-radius);
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  border-left: 4px solid transparent;
}

.faq-toggle:hover {
  background: #f0f2f5;
  border-left: 4px solid var(--primary-color);
}

.faq-toggle.active {
  background: #f0f2f5;
  border-left: 4px solid var(--primary-color);
  color: var(--primary-color);
}

.faq-toggle::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
}

.faq-toggle.active::after {
  content: '-';
}

.faq-content {
  display: none;
  padding: 20px;
  background: var(--card-bg);
  margin-bottom: 20px;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  line-height: 1.7;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-content p {
  color: var(--text-color);
  font-weight: 500;
}

.faq-content i {
  color: var(--primary-color);
  margin-right: 8px;
}
/* Link Box */
#linkBox {
  background-color: rgba(46, 204, 113, 0.1);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 20px;
  border: 1px solid rgba(46, 204, 113, 0.3);
  animation: fadeIn 0.5s ease;
}

#statusMessage {
  font-weight: 600;
  margin-top: 0;
  color: var(--success-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

#statusMessage.error {
  color: var(--error-color);
}

.link-container {
  display: flex;
  gap: 10px;
}

.link-container input {
  flex: 1;
}

.link-info {
  margin-top: 10px;
  font-size: 14px;
  color: var(--light-text);
  text-align: center;
}

/* File Info */
.file-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(67, 97, 238, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Progress Header */
.progress-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: 500;
}

/* Header Styles */
.site-header {
  background-color: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 24px;
}

.logo-text {
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-color);
}

h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

h1 i {
  color: var(--accent-color);
}

.subtitle {
  font-size: 18px;
  color: var(--light-text);
  margin-bottom: 25px;
}

/* Features */
.features {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.feature i {
  font-size: 24px;
  color: var(--primary-color);
  background-color: rgba(67, 97, 238, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.feature:hover i {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.feature span {
  font-weight: 600;
  font-size: 14px;
}

/* Upload Box Enhancements */
.upload-box::before {
  content: none;
}

.upload-box .upload-icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.upload-hint {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--light-text);
}

/* Footer */
.site-footer {
  background-color: var(--text-color);
  color: white;
  padding: 40px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.footer-tagline {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--card-bg);
  color: var(--text-color);
  padding: 0;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(150%);
  transition: transform 0.3s ease;
  z-index: 1000;
  max-width: 300px;
  overflow: hidden;
}

.toast-notification.show {
  transform: translateY(0);
}

.toast-notification.error {
  background-color: #f44336;
}

.toast-notification.success {
  background-color: #4CAF50;
}

.toast-content {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 10px;
}

.toast-icon {
  color: var(--success-color);
  font-size: 20px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page Content Styles */
.page-content {
  padding: 60px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.content-wrapper {
  background: var(--card-bg);
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  color: var(--primary-color);
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-section ul {
  padding-left: 20px;
}

.policy-section li {
  margin-bottom: 8px;
}

.last-updated {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--light-text);
  font-size: 14px;
  background-color: rgba(67, 97, 238, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
  .Share_inner {
    padding: 25px;
  }
  
  .faq-section {
    padding: 25px;
  }
  
  .content-wrapper {
    padding: 25px;
  }
  
  h1 {
    font-size: 26px;
  }
  
  .upload-box {
    padding: 30px 20px;
  }
  
  .link-container {
    flex-direction: column;
  }
  
  .features {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .feature {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

/* Loading Indicator */
.loading-indicator {
  display: inline-flex;
  align-items: center;
  margin-left: 1rem;
  color: var(--primary-color);
  font-weight: 500;
}

.loading-indicator i {
  margin-right: 0.5rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}