﻿body
{
}
body {
    margin: 0;
    background: #d8d8c8;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.invitation-section {
    text-align: center;
    padding: 20px;
}

    .invitation-section img {
        width: 100%;
        max-width: 800px;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

.buttons {
    text-align: center;
    margin: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 25px;
    margin: 10px;
    background: #9d7c2f;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn:hover {
        background: #7d6225;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(157, 124, 47, 0.3);
    }

.btn-secondary {
    background: transparent;
    color: #9d7c2f;
    border: 2px solid #9d7c2f;
}

    .btn-secondary:hover {
        background: #9d7c2f;
        color: white;
    }

/* Admin Section */
.admin-section {
    text-align: center;
    margin: 30px 0 20px;
    padding: 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 15px;
}

    .admin-section .label {
        font-size: 11px;
        color: #7d6225;
        text-transform: uppercase;
        letter-spacing: 2px;
        display: block;
        margin-bottom: 10px;
        opacity: 0.6;
    }

.admin-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px 10px;
    background: rgba(157, 124, 47, 0.1);
    color: #7d6225;
    border: 1px dashed #9d7c2f;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    transition: all 0.2s;
}

    .admin-btn:hover {
        background: rgba(157, 124, 47, 0.2);
        border-style: solid;
    }

.rsvp-count {
    background: #9d7c2f;
    color: white;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
}

.admin-hint {
    margin-top: 8px;
    font-size: 11px;
    color: #9d7c2f;
    opacity: 0.5;
}

    .admin-hint kbd {
        background: white;
        padding: 2px 10px;
        border-radius: 4px;
        font-size: 11px;
        border: 1px solid #ddd;
    }

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    max-width: 450px;
    width: 100%;
    padding: 35px;
    border-radius: 20px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    background: none;
    border: none;
    font-family: Arial, sans-serif;
    transition: color 0.2s;
}

    .close:hover {
        color: #9d7c2f;
    }

.modal-content h2 {
    color: #9d7c2f;
    margin-bottom: 5px;
    font-weight: normal;
}

.modal-content .sub {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.modal-content input,
.modal-content select {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

    .modal-content input:focus,
    .modal-content select:focus {
        outline: none;
        border-color: #9d7c2f;
    }

.modal-content .submit-btn {
    background: #9d7c2f;
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

    .modal-content .submit-btn:hover {
        background: #7d6225;
    }

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1100;
    font-family: Arial, sans-serif;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

    .toast.show {
        opacity: 1;
    }

.venue-details {
    background: rgba(157, 124, 47, 0.08);
    padding: 15px 20px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    border-left: 4px solid #9d7c2f;
}

    .venue-details p {
        margin: 5px 0;
        color: #5a4a2a;
        font-size: 14px;
    }

    .venue-details .venue-name {
        font-weight: bold;
        font-size: 16px;
        color: #7d6225;
    }

footer {
    text-align: center;
    margin: 30px 0 10px;
    font-size: 12px;
    color: #7d6225;
    opacity: 0.6;
}

@media (max-width: 600px) {
    .invitation-section {
        padding: 10px;
    }

    .buttons {
        margin: 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .modal-content {
        padding: 25px 20px;
    }

    .admin-btn {
        padding: 8px 15px;
        font-size: 12px;
        margin: 5px;
    }

    .venue-details {
        padding: 12px 15px;
        margin: 15px 10px;
    }
}