:root {
    --primary-color: #f17006;
    /* Vibrant Orange from logo core */
    --secondary-color: #5d4037;
    /* Warm Brown */
    --accent-color: #ff9800;
    /* Lighter Orange */
    --bg-color: #fdfdfd;
    --card-bg: #ffffff;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --border-color: #dfe6e9;
    --success-color: #00b894;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: var(--card-bg);
    width: 100%;
    max-width: 700px;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

header {
    text-align: center;
    margin-bottom: 35px;
}

.logo {
    max-width: 200px;
}

h1 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

span.org {
    color: #d1690a;
}

.subtitle {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: span 2;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

input,
select {
    padding: 12px 15px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fcfcfc;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(241, 112, 6, 0.1);
}

/* Radio Button Group Styling */
.radio-group {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.radio-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    user-select: none;
    color: var(--text-color);
    transition: all 0.2s;
    min-height: 24px;
}

.radio-container:hover {
    color: var(--primary-color);
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #fcfcfc;
    border-radius: 50%;
    transition: all 0.3s;
    border: 1.5px solid var(--border-color);
}

.radio-container:hover input~.radio-checkmark {
    border-color: var(--primary-color);
}

.radio-container input:checked~.radio-checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(241, 112, 6, 0.1);
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked~.radio-checkmark:after {
    display: block;
}

.radio-container .radio-checkmark:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Custom Counter Styling */
.counter {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.counter button {
    background: #f8f9fa;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    transition: background 0.2s;
}

.counter button:hover {
    background: #eee;
}

.counter input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    padding: 10px 0;
    font-weight: 600;
}

.counter input:focus {
    box-shadow: none;
}

/* Price Summary Box */
.price-summary {
    margin-top: 30px;
    padding: 20px;
    background: #fff8f2;
    border-radius: 8px;
    border: 1px dashed var(--primary-color);
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.price-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(241, 112, 6, 0.2);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 30px;
    transition: transform 0.2s, background 0.3s;
    box-shadow: 0 4px 15px rgba(241, 112, 6, 0.3);
}

.submit-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.secondary-btn {
    background: #f8f9fa;
    color: var(--secondary-color);
    padding: 10px 20px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}

.secondary-btn:hover {
    background: #eee;
    border-color: var(--secondary-color);
}

/* Photo Upload Styling */
.photo-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px dashed var(--border-color);
    padding: 20px;
    border-radius: var(--radius);
    background: #fafafa;
    transition: border-color 0.3s;
    cursor: pointer;
}

.photo-upload-container.dragover {
    border-color: var(--primary-color);
    background: #fff8f2;
}

.photo-preview {
    width: 150px;
    height: 150px;
    /* border-radius: 50%; */
    overflow: hidden;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.upload-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
}

.upload-placeholder small {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.submitting {
    opacity: 0.8;
    cursor: not-allowed;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.98);
    }

    100% {
        transform: scale(1);
    }
}

/* Success Page Styles moved from internal */
.success-container {
    text-align: center;
    padding: 20px 0;
}

.check-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    color: white;
    font-size: 50px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 25px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

.home-btn {
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
}

/* Responsive Table/Grid */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .container {
        padding: 25px 20px;
        margin: 10px;
    }

    h1 {
        font-size: 1.8rem;
    }
}
.pass-header p {
    margin: 0px 0 15px 0px;
    opacity: 0.9;
    font-size: 0.9rem;
    color: white;
}