﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    /*    background: linear-gradient(to bottom, #f5f0e8 0%, #e8dcc8 100%);*/
    background-image: url('/GiftVoucherPortal/images/Background.png');
    min-height: 100vh;
}

header {
    background: white;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

.header-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #2d5016;
}

    .header-links a {
        color: #2d5016;
        text-decoration: none;
    }

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.form-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.form-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    color: white;
    font-size: 35px;
    position: relative;
    display: grid;
    place-content: center;
}


.form-header-text h1 {
    color: #2d5016;
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header-text p {
    color: #666;
    font-size: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        color: #2d5016;
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

        .form-group label span {
            color: #e74c3c;
        }

    .form-group input,
    .form-group select {
        padding: 15px;
        border: 2px solid #2d5016;
        border-radius: 10px;
        font-size: 1rem;
        outline: none;
        transition: all 0.3s;
        font-family: inherit;
    }

        .form-group input:focus,
        .form-group select:focus {
            border-color: #4a7c2a;
            box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
        }

        .form-group input::placeholder {
            color: #ccc;
        }

.input-with-icon {
    position: relative;
}

.calendar-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.dropdown-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #2d5016;
    pointer-events: none;
}

.btn {
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #2d5016;
    color: white;
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    background: #3d6620;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #2d5016; /* keep same color */
    box-shadow: none;
    transform: none;
}


.add-recipient {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d5016;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    background: none;
    border: none;
    font-size: 1rem;
}

.add-recipient-icon {
    width: 35px;
    height: 35px;
    background: #7fa855;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-header {
        flex-direction: column;
    }

    .form-header-text h1 {
        font-size: 1.5rem;
    }

    header {
        padding: 15px 20px;
    }
}
