:root {
    --bg-color: #f7fafc;
    --text-color: #1a202c;
    --text-muted: #4a5568;
    --card-bg: #fff;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --border-color: #e2e8f0;
    
    --primary-blue: #3182ce;
    --primary-teal: #32d4e1;
    --hover-bg: #edf2f7;
    
    --lk-color: #0077b5;
    --ig-color: #e1306c;
}

[data-theme="dark"] {
    --bg-color: #1a202c;
    --text-color: rgba(255, 255, 255, 0.92);
    --text-muted: #a0aec0;
    --card-bg: #2d3748;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --border-color: #4a5568;
    --hover-bg: #4a5568;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    transition: background-color 0.2s, color 0.2s;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: var(--card-bg);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    transition: background-color 0.2s;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-text {
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--primary-teal);
}

.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.theme-btn:hover {
    background-color: var(--hover-bg);
}

/* Main Container */
.verify-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.verify-card {
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    transition: background-color 0.2s;
}

/* Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.org-logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff; /* Always white background for logo */
    border-radius: 4px;
}

.org-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.org-name {
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--text-color);
}

.divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

/* Verified Badge */
.badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.verified-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 1.125rem;
}

.detail-label i {
    width: 20px;
    text-align: center;
}

.detail-value {
    font-size: 1.125rem;
    color: var(--text-color);
    line-height: 1.4;
    word-break: break-word;
}

/* About Organization */
.about-org {
    margin-bottom: 2.5rem;
}

.about-text {
    margin-top: 1rem;
    color: var(--text-color);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Socials & Footer */
.social-links-section {
    text-align: center;
    margin-bottom: 3rem;
}

.follow-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.social-btn.linkedin {
    background-color: var(--primary-blue);
}

.social-btn.instagram {
    background-color: #dd6b20; /* Orange tone present in screenshot */
}

.footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-color);
    flex-wrap: wrap;
}

.powered-by {
    margin-right: 0.5rem;
}

.footer-link {
    color: var(--primary-blue);
    text-decoration: underline;
    margin-right: 0.5rem;
}

.footer-icons {
    display: flex;
    gap: 0.75rem;
}

.footer-icons a {
    color: var(--text-muted);
    font-size: 1.125rem;
    transition: color 0.2s;
}

.footer-icons a:hover {
    color: var(--primary-blue);
}

/* Admin Specific Styles */
.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary-teal);
    color: #fff;
}

.btn-primary:hover {
    background-color: #2bb9c5;
}

.btn-secondary {
    background-color: var(--hover-bg);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.btn-danger {
    background-color: #e53e3e;
    color: white;
}

.btn-danger:hover {
    background-color: #c53030;
}

.admin-card {
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
    color: var(--text-muted);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-blue);
    font-size: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

#qrcode-container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
}
