/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #fafafa;
    color: #262626;
    line-height: 1.5;
}

/* Login Page Styles */
.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 350px;
}

.logo-section {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 12px;
    margin-bottom: 16px;
}

.camera-icon {
    font-size: 24px;
    filter: brightness(0) invert(1);
}

.brand-name {
    font-size: 32px;
    font-weight: 300;
    color: #262626;
    margin-bottom: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.subtitle {
    color: #8e8e8e;
    font-size: 14px;
}

.form-container {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    padding: 40px 40px 32px;
    margin-bottom: 16px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    position: relative;
}

.password-group {
    position: relative;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    background-color: #fafafa;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #0095f6;
    background-color: white;
}

.show-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
}

.login-btn {
    background-color: #0095f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background-color: #1877f2;
}


.changepassword-btn {
    background-color: #0095f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.changepassword-btn:hover {
    background-color: #1877f2;
}

.divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: #8e8e8e;
    font-size: 13px;
    font-weight: 600;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #dbdbdb;
}

.divider span {
    padding: 0 16px;
}

.forgot-password {
    color: #0095f6;
    text-decoration: none;
    font-size: 12px;
    text-align: center;
}

.forgot-password:hover {
    text-decoration: underline;
}

.signup-container {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-size: 14px;
}

.signup-link {
    color: #0095f6;
    text-decoration: none;
    font-weight: 600;
}

.signup-link:hover {
    text-decoration: underline;
}

.back-to-home {
    text-align: center;
    margin-top: 16px;
}

.back-link {
    color: #8e8e8e;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #0095f6;
}

/* Registration Page Styles */
.register-container {
    width: 100%;
    max-width: 400px;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.input-group {
    position: relative;
}

.error-message {
    display: none;
    color: #ed4956;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.3;
}

.field-error-message {
    color: #ed4956;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.3;
    font-weight: bold;
}

input.error {
    border-color: #ed4956;
    background-color: #ffeaea;
}

input.error:focus {
    border-color: #ed4956;
    background-color: #ffeaea;
}

.register-btn {
    background-color: #0095f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.register-btn:hover:not(:disabled) {
    background-color: #1877f2;
}

.register-btn:disabled {
    background-color: #b3d9ff;
    cursor: not-allowed;
}

.password-requirements {
    background-color: #f8f9fa;
    border: 1px solid #efefef;
    border-radius: 6px;
    padding: 16px;
    margin: 8px 0;
}

.requirements-title {
    font-size: 12px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
}

.requirements-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.requirement {
    font-size: 12px;
    color: #8e8e8e;
    margin-bottom: 4px;
    padding-left: 16px;
    position: relative;
    transition: color 0.2s ease;
}

.requirement::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ed4956;
    font-weight: bold;
}

.requirement.valid {
    color: #00a400;
}

.requirement.valid::before {
    content: '✓';
    color: #00a400;
}

.terms-section {
    margin: 8px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.4;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    background-color: white;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: #0095f6;
    border-color: #0095f6;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.terms-text {
    color: #8e8e8e;
}

.terms-text a {
    color: #0095f6;
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

.social-register {
    margin-top: 8px;
}

.social-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: white;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.social-btn:hover {
    background-color: #f8f9fa;
}

.social-icon {
    font-size: 16px;
}

.login-container {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 16px;
}

.login-link {
    color: #0095f6;
    text-decoration: none;
    font-weight: 600;
}

.login-link:hover {
    text-decoration: underline;
}

/* Setup Page Styles */
.setup-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

.setup-content {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    overflow: hidden;
}

.intro-section {
    padding: 32px;
    text-align: center;
    border-bottom: 1px solid #efefef;
}

.intro-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #262626;
}

.intro-section p {
    color: #8e8e8e;
    font-size: 16px;
    line-height: 1.5;
}

.requirements-section {
    padding: 0;
}

.requirement-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    border-bottom: 1px solid #efefef;
}

.requirement-card:last-child {
    border-bottom: none;
}

.requirement-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.requirement-content {
    flex: 1;
}

.requirement-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #262626;
}

.requirement-content p {
    color: #8e8e8e;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.links-section h4,
.auth-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #262626;
}

.setup-links {
    list-style: none;
    margin-bottom: 20px;
}

.setup-links li {
    margin-bottom: 8px;
}

.setup-links a {
    color: #0095f6;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.setup-links a:hover {
    background-color: #f0f8ff;
    text-decoration: underline;
}

.info-box {
    background-color: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    color: #1877f2;
}

.auth-section {
    display: grid;
    gap: 24px;
}

.auth-features {
    list-style: none;
    margin-bottom: 20px;
}

.auth-features li {
    font-size: 14px;
    color: #262626;
    margin-bottom: 8px;
    padding-left: 4px;
}

.auth-button-container {
    text-align: center;
}

.auth-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 12px;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 148, 51, 0.3);
}

.instagram-icon {
    font-size: 20px;
}

.auth-note {
    font-size: 12px;
    color: #8e8e8e;
}

.next-steps {
    padding: 32px;
    background-color: #fafafa;
    border-top: 1px solid #efefef;
}

.next-steps h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #262626;
    text-align: center;
}

.next-steps p {
    color: #8e8e8e;
    font-size: 14px;
    text-align: center;
    margin-bottom: 24px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #262626;
}

.benefit-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 32px;
    border-top: 1px solid #efefef;
}

.primary-btn {
    background-color: #0095f6;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.primary-btn:hover {
    background-color: #1877f2;
}

.secondary-btn {
    background-color: transparent;
    color: #8e8e8e;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #dbdbdb;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.secondary-btn:hover {
    color: #0095f6;
    border-color: #0095f6;
}

/* Privacy Policy Styles */
.privacy-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.privacy-content {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    overflow: hidden;
}

.intro-section {
    padding: 32px;
    text-align: center;
    border-bottom: 1px solid #efefef;
    background-color: #fafafa;
}

.last-updated {
    font-size: 12px;
    color: #8e8e8e;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.intro-section p:last-child {
    color: #262626;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.policy-sections {
    padding: 0;
}

.policy-section {
    padding: 32px;
    border-bottom: 1px solid #efefef;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #262626;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #262626;
}

.policy-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #262626;
}

.policy-content p {
    color: #8e8e8e;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.policy-content p:last-child {
    margin-bottom: 0;
}

.policy-list {
    list-style: none;
    margin-bottom: 20px;
}

.policy-list li {
    font-size: 14px;
    color: #262626;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.policy-list li::before {
    content: '•';
    color: #0095f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.policy-list li strong {
    color: #262626;
    font-weight: 600;
}

/* Retention Table */
.retention-table {
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.retention-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid #efefef;
}

.retention-row:last-child {
    border-bottom: none;
}

.retention-row.header {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #262626;
}

.retention-row:not(.header) {
    background-color: white;
}

.retention-row:not(.header):nth-child(even) {
    background-color: #fafafa;
}

.data-type,
.retention-period,
.reason {
    font-size: 14px;
    line-height: 1.4;
}

.retention-row:not(.header) .data-type {
    font-weight: 600;
    color: #262626;
}

.retention-row:not(.header) .retention-period {
    color: #0095f6;
    font-weight: 500;
}

.retention-row:not(.header) .reason {
    color: #8e8e8e;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.right-item {
    background-color: #f8f9fa;
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.right-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.right-item h4 {
    color: #0095f6;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.right-item p {
    margin: 0;
    font-size: 13px;
    color: #8e8e8e;
    line-height: 1.4;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.contact-method {
    background-color: #f8f9fa;
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 20px;
}

.contact-method h4 {
    color: #262626;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.contact-method p {
    margin: 0;
    font-size: 14px;
    color: #8e8e8e;
}

.contact-method a {
    color: #0095f6;
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

.response-times {
    background-color: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 20px;
}

.response-times h4 {
    color: #1877f2;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.response-times .policy-list {
    margin-bottom: 0;
}

.response-times .policy-list li {
    color: #1877f2;
    font-size: 13px;
    margin-bottom: 8px;
}

.response-times .policy-list li::before {
    color: #1877f2;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.contact-details {
    background-color: #f8f9fa;
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 20px;
}

.contact-details h4 {
    color: #262626;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #8e8e8e;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details a {
    color: #0095f6;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Responsive Design for Privacy Page */
@media (max-width: 768px) {
    .privacy-container {
        padding: 20px 12px;
    }

    .policy-section {
        padding: 24px 20px;
    }

    .intro-section {
        padding: 24px 20px;
    }

    .retention-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .retention-row.header {
        display: none;
    }

    .retention-row:not(.header) {
        padding: 16px;
        border: 1px solid #efefef;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .retention-row:not(.header):last-child {
        margin-bottom: 0;
    }

    .data-type::before {
        content: 'Data Type: ';
        font-weight: normal;
        color: #8e8e8e;
    }

    .retention-period::before {
        content: 'Retention: ';
        font-weight: normal;
        color: #8e8e8e;
    }

    .reason::before {
        content: 'Reason: ';
        font-weight: normal;
        color: #8e8e8e;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Hero/Index Page Styles */
.hero-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-content {
    text-align: center;
}

.hero-subtitle {
    color: #8e8e8e;
    font-size: 16px;
    margin-bottom: 48px;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #262626;
}

.feature-card p {
    color: #8e8e8e;
    font-size: 14px;
    line-height: 1.5;
}

.description-section {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 48px;
    text-align: left;
}

.description-section h2 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: #262626;
}

.steps {
    display: grid;
    gap: 24px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #262626;
}

.step-content p {
    color: #8e8e8e;
    font-size: 14px;
    line-height: 1.5;
}

.cta-section {
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    padding: 16px 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 16px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 148, 51, 0.3);
}

.cta-subtitle {
    color: #8e8e8e;
    font-size: 14px;
}

.privacy-link {
    margin-top: 16px;
    font-size: 12px;
}

.privacy-link a {
    color: #8e8e8e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.privacy-link a:hover {
    color: #0095f6;
    text-decoration: underline;
}

/* Upload Page Styles */
.upload-container {
    min-height: 100vh;
    background-color: #fafafa;
}

.upload-header {
    background: white;
    border-bottom: 1px solid #dbdbdb;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.back-btn:hover {
    background-color: #f0f0f0;
}

.upload-header h1 {
    font-size: 18px;
    font-weight: 600;
}

.spacer {
    width: 36px;
}

.upload-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 24px 20px;
}

.section {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.section-header {
    padding: 16px 20px;
    border-bottom: 1px solid #efefef;
}

.section-header h2 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.section-header p {
    font-size: 12px;
    color: #8e8e8e;
}

.upload-area {
    padding: 40px 20px;
    text-align: center;
    border: 2px dashed #dbdbdb;
    margin: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.upload-area:hover {
    border-color: #0095f6;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
}

.upload-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.upload-subtext {
    font-size: 12px;
    color: #8e8e8e;
}

#image-upload {
    display: none;
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 20px;
}

.image-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.image-container:hover .remove-btn {
    opacity: 1;
}

.add-more {
    aspect-ratio: 1;
    border: 2px dashed #dbdbdb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #8e8e8e;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.add-more:hover {
    border-color: #0095f6;
}

.input-group {
    padding: 20px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #262626;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    background-color: #fafafa;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s ease;
}

textarea:focus {
    outline: none;
    border-color: #0095f6;
    background-color: white;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #8e8e8e;
    margin-top: 8px;
}

input[type="text"],
input[type="date"],
input[type="time"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    background-color: #fafafa;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="time"]:focus {
    outline: none;
    border-color: #0095f6;
    background-color: white;
}

.input-help {
    font-size: 12px;
    color: #8e8e8e;
    margin-top: 8px;
}

.schedule-inputs {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.submit-btn {
    background-color: #0095f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 20px 20px;
    transition: background-color 0.2s ease;
}

.submit-btn:hover:not(:disabled) {
    background-color: #1877f2;
}

.submit-btn:disabled {
    background-color: #b3d9ff;
    cursor: not-allowed;
}

/* Dashboard Styles */
.dashboard-container {
    min-height: 100vh;
    background-color: #fafafa;
}

.dashboard-header {
    background: white;
    border-bottom: 1px solid #dbdbdb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-btn {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-btn.primary {
    background-color: #0095f6;
    color: white;
}

.nav-btn.primary:hover {
    background-color: #1877f2;
}

.nav-btn.secondary {
    background-color: transparent;
    color: #8e8e8e;
    border: 1px solid #dbdbdb;
}

.nav-btn.secondary:hover {
    color: #0095f6;
    border-color: #0095f6;
}

.dashboard-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #8e8e8e;
    font-weight: 500;
}

.posts-section {
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    overflow: hidden;
}

.section-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #efefef;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #262626;
}

.section-header p {
    font-size: 14px;
    color: #8e8e8e;
}

.posts-list {
    padding: 0;
}

.date-group {
    border-bottom: 1px solid #efefef;
}

.date-group:last-child {
    border-bottom: none;
}

.date-header {
    padding: 20px 24px 12px;
    background-color: #fafafa;
}

.date-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
}

.post-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.post-item:hover {
    background-color: #fafafa;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item.published {
    opacity: 0.8;
}

.post-time {
    font-size: 14px;
    font-weight: 600;
    color: #0095f6;
    min-width: 70px;
    flex-shrink: 0;
}

.post-details {
    flex: 1;
    min-width: 0;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.image-count {
    font-size: 12px;
    font-weight: 600;
    color: #8e8e8e;
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 12px;
}

.post-status {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.post-status.published {
    background-color: #d4edda;
    color: #155724;
}

.engagement {
    font-size: 12px;
    color: #8e8e8e;
    font-weight: 500;
}

.post-caption {
    font-size: 14px;
    color: #262626;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-tags {
    font-size: 12px;
    color: #0095f6;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.action-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background-color: #f0f0f0;
}

.action-btn.delete:hover {
    background-color: #ffebee;
}

.action-btn.edit:hover {
    background-color: #e3f2fd;
}

.action-btn.view:hover {
    background-color: #f3e5f5;
}

/* User Menu Styles */
.user-menu {
    position: relative;
}

.menu-toggle {
    background: none;
    border: 1px solid #dbdbdb;
    cursor: pointer;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    border-color: #0095f6;
    background-color: #f0f8ff;
}

.menu-line {
    width: 20px;
    height: 2px;
    background-color: #262626;
    border-radius: 2px;
    transition: all 0.2s ease;
}

.menu-toggle:hover .menu-line {
    background-color: #0095f6;
}

.menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.menu-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: block;
    padding: 12px 16px;
    color: #262626;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #efefef;
}

.menu-item:first-child {
    border-radius: 8px 8px 0 0;
}

.menu-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.menu-item:hover {
    background-color: #fafafa;
}

.menu-item.logout {
    color: #ed4956;
}

.menu-item.logout:hover {
    background-color: #ffebee;
}

/* Responsive Design */
@media (max-width: 480px) {
    .form-container {
        padding: 24px 20px;
    }

    .upload-content {
        padding: 16px 12px;
    }

    .section-header,
    .input-group {
        padding: 16px;
    }

    .schedule-inputs {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .submit-btn {
        margin: 0 16px 16px;
    }

    .upload-area {
        margin: 16px;
        padding: 32px 16px;
    }

    .image-preview {
        padding: 16px;
    }

    .header-content {
        padding: 12px 16px;
    }

    .dashboard-main {
        padding: 16px 12px;
    }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .post-item {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .post-time {
        min-width: auto;
    }

    .post-meta {
        gap: 8px;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .name-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .register-container {
        max-width: 350px;
    }

    .section-header {
        padding: 20px 16px 12px;
    }

    .date-header {
        padding: 16px;
    }
}