﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    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: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.redemption-form-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 520px;
    margin: 0 auto;
}

.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;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        color: #2d5016;
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

    .form-group input {
        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 {
            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;
}

.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;
}

.form-group select {
    padding: 15px;
    border: 2px solid #2d5016;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
    appearance: none;
}

.voucher-image-section {
    position: sticky;
    top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voucher-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.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 {
        background: #3d6620;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .voucher-image-section {
        position: static;
        order: -1;
    }

    .redemption-form-container {
        padding: 30px 20px;
    }

    header {
        padding: 15px 20px;
    }

    .form-header {
        flex-direction: column;
    }

    .form-header-text h1 {
        font-size: 1.5rem;
    }
}
