* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.header {
    background: linear-gradient(to right, #1a2a6c, #b21f1f);
    color: white;
    padding: 20px;
    text-align: center;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.header p {
    font-size: 14px;
    opacity: 0.8;
}
.logo img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
}
.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #1a2a6c;
    font-weight: bold;
}

.content {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #1a2a6c, #b21f1f);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.receipt {
    display: none;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.receipt-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px dashed #ddd;
    padding-bottom: 15px;
}
.receipt-logo img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
}
.receipt-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: #1a2a6c;
    font-weight: bold;
}

.receipt-details {
    margin-bottom: 20px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.receipt-label {
    font-weight: bold;
    color: #555;
}

.receipt-value {
    color: #333;
}

/* Watermark Styles */
#watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 100px,
        rgba(0, 150, 0, 0.1) 100px,
        rgba(0, 150, 0, 0.1) 200px
    );
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: bold;
    color: rgba(0, 150, 0, 0.15);
    transform: rotate(-30deg);
    text-transform: uppercase;
    letter-spacing: 5px;
}
/* Security Hash Styles */
.receipt-row:last-child {
    border-top: 2px dashed #ddd;
    margin-top: 10px;
    padding-top: 15px;
}

.receipt-row:last-child .receipt-label {
    color: #1a2a6c;
    font-weight: bold;
}

.receipt-row:last-child .receipt-value {
    color: #b21f1f;
    font-family: monospace;
    font-size: 10px;
    word-break: break-all;
}
/* Make receipt preview position relative for watermark positioning */
.receipt {
    position: relative;
    overflow: hidden;
}

/* Mobile-specific watermark styles */
@media (max-width: 480px) {
    #watermark {
        font-size: 30px;
        letter-spacing: 3px;
        background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(0, 150, 0, 0.1) 60px,
            rgba(0, 150, 0, 0.1) 120px
        );
    }
}

.footer-note {
    text-align: center;
    font-size: 12px;
    color: #777;
    margin-top: 15px;
    font-style: italic;
}

.login-screen {
    text-align: center;
}

.login-screen h2 {
    margin-bottom: 20px;
    color: #1a2a6c;
}

.error-message {
    color: #b21f1f;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

.success-message {
    color: #2a6c1a;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-buttons button {
    flex: 1;
}

.secondary-btn {
    background: linear-gradient(to right, #6c6c6c, #9e9e9e) !important;
}

/* Mobile-specific styles */
@media (max-width: 480px) {
    .container {
        margin: 10px;
        border-radius: 10px;
    }
    
    .header {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 20px;
    }
    
    .content {
        padding: 15px;
    }
    
    input, select {
        padding: 10px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    button {
        padding: 12px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}