/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }
body { background-color: #f4f7f6; display: flex; justify-content: center; }

/* ===== App Container ===== */
.app-container { 
    max-width: 450px; 
    width: 100%; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
}

/* ===== Top Section ===== */
.top-section {
    background: linear-gradient(180deg, #6a11cb 0%, #2575fc 45%, #f4f7f6 100%);
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    padding: 25px 20px;
}

.header {
    display: flex;
    align-items: center;
    color: white;
}

.header h2 {
    font-size: 22px;
    font-weight: bold;
    margin-left: 10px;
}

.back-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.tab {
    cursor: pointer;
    padding: 10px 20px;
    font-weight: bold;
    color: rgba(255,255,255,0.7);
    border-bottom: 3px solid transparent;
    transition: 0.3s;
    border-radius: 8px 8px 0 0;
}

.tab.active {
    color: white;
    border-bottom: 3px solid white;
}

/* ===== Content Wrapper ===== */
.content-wrapper {
    padding: 20px;
}

/* ===== Card & Form Area ===== */
.content-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Form Groups */
.form-group { margin-bottom: 15px; }
.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    outline: none;
    background: #f9f9f9;
    font-size: 14px;
}

/* Buttons */
.btn-submit {
    width: 100%;
    padding: 12px;
    border: none;
    background: #3884ff;
    color: white;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(56, 132, 255, 0.3);
}

/* Hidden Forms */
.hidden { display: none; }

/* Agreement */
.agreement { font-size: 12px; color: #666; display: flex; align-items: center; gap: 5px; margin-top: 10px; }
.agreement .highlight { color: #3884ff; font-weight: bold; cursor: pointer; }

/* ===== Responsive ===== */
@media (max-width: 450px) {
    .header h2 { font-size: 20px; }
    .tab { padding: 8px 15px; font-size: 14px; }
    .form-group input { font-size: 13px; padding: 10px 12px; }
    .btn-submit { font-size: 15px; padding: 10px; }
    .content-card { padding: 20px; }
    .top-section { padding: 20px 15px; }
}
