/* Created by - Aye Chan Aung Thwin */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
        
 body {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 110vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
        
        /*.container {
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            width: 100%;
            max-width: 450px;
            padding: 30px;
            text-align: center;
        }*/       

.container {
    width: 100%;
    overflow: hidden; /* Clearfix */
}

.left, .right {
    margin: 5px;
    width: 48%;
    border: 2px solid #ddd;
            border-radius: 8px;
    box-sizing: border-box;
}

.left {
    float: left;
    padding: 20px;
    background-color: #f0f0f0;
}

.right {
    float: right;
    background-color: #f9f9f9;
}

/* Desktop - side by side */
@media (min-width: 769px) {

    body {
        min-height: 110vh;
    }

    .left, .right {
        flex: 1;
        min-width: calc(50% - 10px); /* 50% width minus half the gap */
    }
}

/* Mobile - stacked */
@media (max-width: 768px) {

    body {
        min-height: 190vh;
    }

    .left, .right {
        flex: 100%;
        width: 100%;
    }
}

/* Mobile - stacked */
@media (max-width: 500px) {

    body {
        min-height: 220vh;
    }

    .left, .right {
        flex: 100%;
        width: 100%;
    }
}
        
/* ===== TYPOGRAPHY ===== */
h1 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* ===== LAYOUT ===== */
.main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    text-align: left;
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: 0px;
}

.img-container {
    margin: 20px auto;
    width: 200px;
    height: 200px;
    background-color: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.instructions {
    margin-top: 0px;
    padding: 15px;
    background-color: #f0f7ff;
    border-radius: 8px;
    text-align: left;
    font-size: 14px;
    color: #555;
}

/* ===== FORM ELEMENTS ===== */
label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 500;
}

input[type="text"] {
    width: 100%;
    padding: 5px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: #4285f4;
    outline: none;
}

input[type="button"] {
    flex: 1;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* ===== VALIDATION STATES ===== */
.ph_no:invalid,
.amount:invalid {
    border-color: #ff4d4d;
}

/* ===== BUTTON STATES ===== */
input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

input[type="button"]:active {
    transform: translateY(0);
}

.download-btn {
    background: linear-gradient(to right, #25d366, #128C7E) !important;
}

/* ===== IMAGE PLACEHOLDER ===== */
.img-placeholder {
    color: #999;
    text-align: center;
    padding: 10px;
}

/* ===== INSTRUCTIONS ===== */
.instructions h3 {
    margin-bottom: 10px;
    color: #4285f4;
}

.instructions ul {
    padding-left: 20px;
}

.instructions li {
    margin-bottom: 8px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .img-container {
        width: 180px;
        height: 180px;
    }
    
    .buttons {
        flex-direction: column;
    }
}