:root {
  --facebook-blue: #1877F2;
  --success-green: #42B72A;
  --background-grey: #F0F2F5;
  --text-dark: #1C1E21;
  --error-red: #FF3B30;
  --card-bg: white;
}

[data-theme="dark"] {
  --background-grey: #18191A;
  --text-dark: #E4E6EB;
  --card-bg: #242526;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background-grey);
  color: var(--text-dark);
}

.container {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.theme-toggle button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-section {
  text-align: center;
  padding: 40px 20px;
  background: var(--card-bg);
  margin-bottom: 30px;
}

.hero-section p {
  max-width: 600px;
  margin: 20px auto;
  color: var(--text-dark);
}

.info-section {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.info-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.info-card i {
  font-size: 32px;
  color: var(--facebook-blue);
  margin-bottom: 15px;
}

.info-card h3 {
  margin: 10px 0;
  color: var(--text-dark);
}

.info-card p {
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  background: var(--card-bg);
}


h1 {
  text-align: center;
  color: var(--facebook-blue);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.media-selection {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.media-button {
  flex: 0 1 150px;
  padding: 15px;
  border: 2px solid var(--facebook-blue);
  border-radius: 8px;
  background: white;
  color: var(--facebook-blue);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.media-button.active {
  background: var(--facebook-blue);
  color: white;
}

.media-button:hover {
  background: var(--facebook-blue);
  color: white;
}

.media-icon {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="datetime-local"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input[type="file"] {
  width: 100%;
  padding: 8px;
  font-size: 14px;
}

button {
  width: 100%;
  padding: 15px;
  background-color: var(--facebook-blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(24, 119, 242, 0.2);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
}

button:active {
  transform: translateY(0);
}

.status {
  margin-top: 20px;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

.status.error {
  background-color: var(--error-red);
  color: white;
}

.status.success {
  background-color: var(--success-green);
  color: white;
}

.notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  z-index: 1000;
}

.progress-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--facebook-blue) calc(var(--progress) * 1%), #eee 0);
  margin: 0 auto 15px;
  position: relative;
}

.progress-circle-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-text {
  font-size: 24px;
  font-weight: bold;
  color: var(--facebook-blue);
}

.upload-status {
  margin: 0;
  color: var(--text-dark);
  font-weight: 500;
}

@media (max-width: 480px) {
  .media-button {
    flex: 100%;
  }
}

.footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  color: var(--text-dark);
}

.author {
  margin-bottom: 15px;
}

.footer a {
  color: var(--facebook-blue);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.donate-btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--success-green);
  color: white !important;
  border-radius: 20px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.donate-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .media-selection {
    flex-direction: column;
  }
  
  .media-button {
    flex: 1;
    width: 100%;
  }
}