﻿


* {
    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 */
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;
    }

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2a 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
}

.hero-content {
    flex: 1;
    color: white;
    padding: 60px;
}

    .hero-content h1 {
        font-size: 3.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

.heart-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #c41e5c;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

    .heart-icon::before {
        content: '♥';
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #2d5016;
    color: white;
}

    .btn-primary:hover {
        background: #3d6620;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

.btn-secondary {
    background: white;
    color: #2d5016;
}

    .btn-secondary:hover {
        background: #f0f0f0;
    }

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

/* Choice Section */
.choice-section {
    text-align: center;
    margin-bottom: 60px;
}

    .choice-section h2 {
        font-size: 2.5rem;
        color: #2d5016;
        margin-bottom: 50px;
    }

.choice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.choice-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

    .choice-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .choice-card h3 {
        font-size: 1.8rem;
        color: #2d5016;
        margin-bottom: 20px;
    }

    .choice-card p {
        color: #666;
        line-height: 1.6;
        margin-bottom: 20px;
    }

.choice-card-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Form Styles */
.form-container {
    background: white;
    border-radius: 20px;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7fa855 0%, #5d8035 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
}

    .form-icon::before {
        content: '♥';
    }

.form-header h1 {
    color: #2d5016;
    font-size: 2rem;
}

.form-header p {
    color: #666;
    margin-top: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group.full-width {
        grid-column: 1 / -1;
    }

    .form-group label {
        color: #2d5016;
        font-weight: 600;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px;
        border: 2px solid #2d5016;
        border-radius: 10px;
        font-size: 1rem;
        outline: none;
        transition: border-color 0.3s;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: #4a7c2a;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #ccc;
        }

    .form-group textarea {
        resize: vertical;
        min-height: 150px;
        font-family: inherit;
    }

.char-limit {
    text-align: right;
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Voucher Preview */
.voucher-preview {
    background: linear-gradient(135deg, #f5f0e8 0%, #e8dcc8 100%);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
}

.voucher-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.voucher-badge {
    background: #2d5016;
    color: white;
    padding: 10px 30px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

.voucher-amount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #2d5016;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: 700;
}

.add-recipient {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2d5016;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

    .add-recipient::before {
        content: '+';
        width: 30px;
        height: 30px;
        background: #7fa855;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

/* Summary Table */
.summary-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

    .summary-table table {
        width: 100%;
        border-collapse: collapse;
    }

    .summary-table th {
        background: #2d5016;
        color: white;
        padding: 15px;
        text-align: left;
        font-weight: 600;
    }

    .summary-table td {
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .summary-table tr:hover {
        background: #f9f9f9;
    }

.total-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d5016;
}

.delete-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* Success Message */
.success-box {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 15px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .success-box::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background: rgba(45, 80, 22, 0.1);
        border-radius: 50%;
    }

    .success-box h2 {
        color: #2d5016;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .success-box p {
        color: #666;
        font-size: 1.1rem;
        line-height: 1.6;
    }

.hero-content {
    max-width: 450px;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .logo {
        height: 40px;
    }

    .hero {
        gap: 1rem;
        flex-direction: column;
        padding: 40px 30px 0px 30px;
    }

    .hero-content {
        padding: 00px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .choice-cards {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .summary-table {
        overflow-x: auto;
    }
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2d5016;
}