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

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #ffeef8 0%, #ffe5f1 50%, #ffd6eb 100%);
    min-height: 100vh;
    padding: 20px;
    direction: rtl;
    overflow-x: hidden;
    color: #bcc181;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.3);
    border: 3px solid #ffb6d9;
    position: relative;
    z-index: 10;
}

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

h1 {
    font-size: 2.5em;
    background: linear-gradient(135deg, #a789b4,#a789b4, #b491c3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: #bcc181;
    font-size: 1.1em;
    font-weight: 300;
}

.ticket-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    color: #bcc181;
    font-weight: 500;
    font-size: 0.95em;
}

.form-group input {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.2);
}

.price-display {
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1.3em;
    font-weight: 500;
    margin: 10px 0;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
}

.total-price {
    font-size: 1.5em;
    font-weight: 700;
}

.payment-methods {
    margin: 20px 0;
}

.payment-methods h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 500;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.payment-btn {
    padding: 20px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.payment-btn span {
    font-size: 1.8em;
}

.payment-btn:hover {
    border-color: #ff69b4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.payment-btn.active {
    border-color: #ff69b4;
    background: #fff0f8;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.2);
}

.submit-btn {
    padding: 18px;
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
    margin-top: 10px;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.5);
}

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

.admin-link {
    text-align: center;
    margin-top: 20px;
}

.admin-link a {
    color: #ff69b4;
    text-decoration: none;
    font-weight: 500;
}

.admin-link a:hover {
    text-decoration: underline;
}

.site-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ffb6d9;
    color: #666;
    font-size: 0.9em;
}

.site-footer p {
    margin: 0;
}

.success-container {
    text-align: center;
}

.success-icon {
    font-size: 5em;
    margin-bottom: 20px;
}

.success-container h1 {
    color: #4caf50;
    margin-bottom: 20px;
}

.order-details {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: right;
}

.order-details p {
    margin: 10px 0;
    color: #333;
    font-size: 1.1em;
}

.order-details strong {
    color: #ff69b4;
}

.flowers-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.flower {
    position: absolute;
    font-size: 25px;
    animation: fall linear infinite;
    opacity: 0.8;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
    }
}

.back-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s;
}

.back-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.logout-btn {
    padding: 10px 20px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.stat-card h3 {
    font-size: 2em;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.9em;
    opacity: 0.9;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.orders-table th {
    background: #667eea;
    color: white;
    padding: 15px;
    text-align: right;
    font-weight: 500;
}

.orders-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    text-align: right;
}

.orders-table tr:hover {
    background: #f5f5f5;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.status-paid {
    background: #4caf50;
    color: white;
}

.status-pending {
    background: #ff9800;
    color: white;
}

.status-failed {
    background: #f44336;
    color: white;
}

.login-form {
    max-width: 400px;
}

.login-form input {
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    .payment-options {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .orders-table {
        font-size: 0.85em;
    }

    .orders-table th,
    .orders-table td {
        padding: 10px 5px;
    }
}
