/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body.everything {
    background: #f8f9fa;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ----------- MAIN CONTAINER ----------- */
.container {
    display: flex;
    width: 100%;
    max-width: 1050px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* ----------- LEFT CARD (FORM) ----------- */
.aboutuser {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.title {
    font-size: 28px;
    color: #386641;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Username & password label row */
.usericonchange {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.usericon {
    width: 26px;
    height: 26px;
    color: #386641;
}

.user,
.pass {
    font-size: 15px;
    font-weight: 600;
    color: #386641;
}

/* Inputs */
.boxuser,
.password {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    outline: none;
    transition: 0.25s;
}

.boxuser:focus,
.password:focus {
    border-color: #386641;
}

/* Forget Password */
.forget {
    font-size: 13px;
    color: #386641;
    align-self: flex-end;
    cursor: pointer;
    margin-top: -8px;
}

.forget:hover {
    text-decoration: underline;
}

/* Button */
button {
    padding: 14px;
    background: #386641;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 12px;
    transition: 0.25s;
}

button:hover {
    background: #2d5234;
}

/* ----------- RIGHT SIDE IMAGE ----------- */
.img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 850px) {
    .container {
        flex-direction: column;
        max-width: 450px;
    }

    .img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .aboutuser {
        padding: 30px;
    }
}

@media screen and (max-width: 767px) {
    .img {
        display: none;
    }
}

/* Full-screen text page container */
.text-page {
    display: none;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* Note content (responsive) */
.final-text {
    background: white;
    padding: 20px;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    max-width: 900px;
    /* Desktop perfect */
    width: 100%;
    /* Full width on small screens */
    margin: 20px auto;
    /* Center horizontally */
    word-wrap: break-word;
    /* Prevent text from overflowing */
}

/* Responsive text scaling */
@media (max-width: 768px) {
    .final-text {
        font-size: 16px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .final-text {
        font-size: 15px;
        padding: 12px;
    }
}


/* For Hidden COntainer */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.text-page {
    display: none;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.text-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.text-page h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.text-page h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #3498db;
    border-radius: 2px;
}

.final-text {
    color: #34495e;
    font-size: 1.1rem;
    line-height: 1.7;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    margin-bottom: 30px;
    min-height: 200px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.copy-btn {
    margin-top: 20px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 220px;
}

.copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #2980b9, #3498db);
}

.copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.copy-btn i {
    font-size: 1.2rem;
}

.copy-btn.copied {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 6px 15px rgba(46, 204, 113, 0.3);
}

.copy-btn.copied:hover {
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-page {
        padding: 30px 25px;
    }

    .text-page h2 {
        font-size: 1.8rem;
    }

    .final-text {
        padding: 20px;
        font-size: 1rem;
    }

    .copy-btn {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .text-page {
        padding: 25px 20px;
        width: 95%;
    }

    .text-page h2 {
        font-size: 1.6rem;
    }

    .final-text {
        padding: 15px;
        font-size: 0.95rem;
    }
}