/* Public file/image view styles for File Circle */

body.fc-public-image-page,
body.fc-public-file-page {
  min-height: 100vh;
  padding: 0;
  margin: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  color: #333;
}

/* Not Found Page Styles */
.fc-not-found-container {
  text-align: center;
  padding: 50px 32px !important;
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  margin: 32px auto;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.fc-not-found-icon {
  font-size: 64px;
  color: #e74c3c;
  margin-bottom: 24px;
}

.fc-not-found-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

.fc-not-found-message {
  font-size: 18px;
  color: #666;
  margin-bottom: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.fc-not-found-contact {
  font-size: 16px;
  color: #888;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.fc-home-btn {
  margin-top: 20px;
  background: #1db954;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fc-home-btn:hover {
  background: #159c3f;
  color: #fff;
  text-decoration: none;
}

.fc-public-image-page {
  width: auto;
  margin: 0 auto;
  padding: 20px;
}

/* Header Flex Container */
.fc-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* Metadata Section */
.fc-public-metadata {
  flex: 1;
  min-width: 200px;
}

.fc-public-filename {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #333;
}

.fc-public-filemeta {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.fc-public-expiry {
  color: #f39c12;
  font-weight: 500;
}

/* Action Buttons */
.fc-public-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 20px;
}

.fc-public-download-btn {
  background: #2ecc71;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}

.fc-public-download-btn:hover {
  background: #27ae60;
}

.fc-public-copy-link {
  background: white;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}

.fc-public-copy-link:hover {
  background: #01705c;
  color: white;
}

/* Ads Section */
.fc-public-ads {
  background: #e9e9e9;
  color: #666;
  text-align: center;
  font-size: 18px;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image Preview Section */
.fc-public-image-preview {
  background: #151a28;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  border-radius: 8px;
}

.fc-public-image {
  max-width: 100%;
  max-height: 600px;
  border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .fc-header-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .fc-public-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .fc-public-actions a,
  .fc-public-actions button {
    width: 100%;
    justify-content: center;
  }

  .fc-public-image-preview {
    padding: 20px;
  }
}

/* Additional responsive styles for Not Found page */
@media (max-width: 768px) {
  .fc-not-found-container {
    padding: 30px 20px !important;
  }
  
  .fc-not-found-icon {
    font-size: 50px;
  }
  
  .fc-not-found-title {
    font-size: 24px;
  }
  
  .fc-not-found-message,
  .fc-not-found-contact {
    font-size: 15px;
  }
  
  .fc-home-btn {
    width: 100%;
    justify-content: center;
  }
}
