/* PresenTAG - Base Styles */

:root {
    --primary-color: #05816a;
    --secondary-color: #8f29d7;
    --accent-color: #FFA502;
    --light-bg: #FFF5F7;
    --success-color: #4CAF50;
}

* {
    font-family: "Nunito", sans-serif;
}

body {
    background: linear-gradient(135deg, #f9f5ff 0%, #ffffff 100%);
    min-height: 100vh;
    color: #333;
}

.navbar {
    background: linear-gradient(45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 2rem;
    display: flex;
    align-items: center;
    margin: 0;
    gap: 4px;
}

.container-main {
    min-height: calc(100vh - 210px);
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 20px;
    color: white;
    text-align: center;
}

.card-header h2 {
    margin: 0;
    font-weight: bold;
    font-size: 2rem;
}

.card-header p {
    margin: 5px 0 0 0;
    opacity: 0.9;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 15px;
    padding: 12px 30px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-color);
    border: none;
    border-radius: 15px;
    padding: 12px 30px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    background: #45a049;
    color: white;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(201, 107, 255, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.gift-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.alert {
    border-radius: 15px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-error {
    background-color: #FFE5E5;
    color: #C33;
    border-left: 4px solid #C33;
}

.alert-success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border-left: 4px solid #4CAF50;
}

.gift-card {
    background: linear-gradient(135deg, #f9f5ff 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    border: 2px solid #e4e0ff;
}

.gift-card h3 {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.gift-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.gift-card strong {
    color: var(--primary-color);
}

.footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 0.9rem;
    margin-top: 40px;
}

.emoji-icon {
    font-size: 3rem;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1;
}

.qr-code-section {
    text-align: center;
    margin: 30px 0;
}

.qr-code-section img {
    border-radius: 10px;
    max-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.brand-text {
    font-family: "Unkempt", cursive;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-header h2 {
        font-size: 1.5rem;
    }

    .gift-icon {
        font-size: 3rem;
    }

    .container-main {
        padding: 20px 10px;
    }
}
