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

body{
    font-family:Arial, sans-serif;
    background:#F8FAFC;
    color:#0F172A;
}

/* Navigation */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#0F172A;
    padding:20px 8%;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    color:white;
    text-decoration:none;
    font-size:28px;
    font-weight:bold;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:25px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    font-weight:bold;
    transition:.3s;
}

nav ul li a:hover{
    color:#2563EB;
}

/* Hero */

.hero{

    width:90%;
    max-width:1200px;
    margin:auto;

    min-height:85vh;

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:60px;
}

.hero-text{
    flex:1;
}

.intro{

    color:#2563EB;
    font-weight:bold;
    margin-bottom:10px;

}

.hero-text h1{

    font-size:65px;
    margin-bottom:10px;

}

.hero-text h2{

    font-size:40px;
    margin-bottom:25px;
    line-height:1.3;

}

.description{

    line-height:1.8;
    margin-bottom:35px;
    color:#555;

}

.hero-buttons{

    display:flex;
    gap:20px;

}

.btn-primary{

    background:#2563EB;
    color:white;
    padding:15px 30px;
    text-decoration:none;
    border-radius:8px;

}

.btn-secondary{

    border:2px solid #2563EB;
    color:#2563EB;
    padding:15px 30px;
    text-decoration:none;
    border-radius:8px;

}

.hero-image{

    flex:1;
    text-align:center;

}

.hero-image img{

    width:85%;
    max-width:420px;
    height:auto;

}

footer{

    text-align:center;
    padding:30px;
    background:#0F172A;
    color:white;

}

@media (max-width: 768px){

    .hero{

        flex-direction:column-reverse;
        text-align:center;
        padding:50px 0;

    }

    .hero-text h1{

        font-size:45px;

    }

    .hero-text h2{

        font-size:28px;

    }

    .hero-buttons{

        justify-content:center;

    }

    nav{

        flex-direction:column;
        gap:20px;

    }

    nav ul{

        flex-wrap:wrap;
        justify-content:center;
        gap:15px;

    }
}
/* ===========================
   REGISTER PAGE
=========================== */

.register-container{

    width:90%;
    max-width:1200px;
    margin:70px auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.1);

}

.register-info{

    flex:1;

    padding:70px;

    background:linear-gradient(135deg,#0F172A,#2563EB);

    color:white;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.register-info h1{

    font-size:48px;

    line-height:1.2;

    margin-bottom:25px;

}

.register-info p{

    font-size:18px;

    line-height:1.8;

    color:#E2E8F0;

}

.features{

    margin-top:40px;

}

.features p{

    background:rgba(255,255,255,.12);

    padding:14px;

    border-radius:10px;

    margin-bottom:15px;

    backdrop-filter:blur(5px);

}

.register-info img{

    width:100%;

    max-width:450px;

    display:block;

    margin:40px auto 0;

}

.register-form{

    flex:1;

    padding:70px;

    background:white;

}

.register-form h2{

    text-align:center;

    margin-bottom:40px;

    color:#0F172A;

}

.register-form form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.register-form input{

    width:100%;

    padding:16px 20px;

    font-size:16px;

    border:2px solid #E5E7EB;

    border-radius:15px;

    transition:all .3s ease;

    background:#F8FAFC;

}

.register-form input:focus{

    outline:none;

    border-color:#2563EB;

    background:white;

    box-shadow:0 0 0 5px rgba(37,99,235,.15);

    transform:translateY(-2px);

}

.register-form button{

    width:100%;

    padding:18px;

    background:#2563EB;

    color:white;

    border:none;

    border-radius:12px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:all .3s ease;

}

.register-form button:hover{

    background:#1D4ED8;

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(37,99,235,.35);

}

.error{

    background:#FEE2E2;

    color:#B91C1C;

    padding:12px;

    border-radius:8px;

    margin-bottom:12px;

}

.success{

    background:#DCFCE7;

    color:#166534;

    padding:12px;

    border-radius:8px;

    margin-bottom:20px;

}

/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){

    .register-container{

        flex-direction:column;

    }

    .register-info{

        width:100%;

        text-align:center;

        padding:40px;

    }

    .register-form{

        width:100%;

        padding:40px;

    }

}

main{

    min-height:calc(100vh - 160px);

}

.password-box{

    position:relative;

}

.password-box input{

    width:100%;

}

.toggle-password{

    position:absolute;

    right:18px;

    top:50%;

    transform:translateY(-50%);

    cursor:pointer;

    font-size:20px;

    user-select:none;

}

#password-strength{

    margin-top:10px;
    margin-bottom:20px;

    font-size:15px;

    font-weight:bold;

    transition:.3s;

}

.dashboard{
    min-height:80vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.dashboard-card{
    width:600px;
    background:#fff;
    border-radius:20px;
    padding:40px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    text-align:center;
}

.logout-btn{
    display:inline-block;
    margin-top:20px;
    background:#e74c3c;
    color:#fff;
    text-decoration:none;
    padding:12px 25px;
    border-radius:8px;
    transition:.3s;
}

.logout-btn:hover{
    background:#c0392b;
}

/* ============================= */
/* DASHBOARD LAYOUT */
/* ============================= */

.dashboard-layout {
    min-height: 100vh;
    display: flex;
    background: #f4f6f9;
}


/* ============================= */
/* SIDEBAR */
/* ============================= */

.dashboard-sidebar {
    width: 250px;
    background: #111827;
    color: white;
    padding: 25px 15px;
    flex-shrink: 0;
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 40px;
}

.sidebar-logo h2 {
    margin: 0;
    font-size: 22px;
}

.sidebar-logo p {
    margin: 3px 0;
    color: #60a5fa;
    font-size: 14px;
}


/* ============================= */
/* NAVIGATION */
/* ============================= */

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-nav a {
    display: block;
    padding: 14px 16px;
    color: #d1d5db;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.dashboard-nav a:hover {
    background: #1f2937;
    color: white;
}

.dashboard-nav a.active {
    background: #2563eb;
    color: white;
}

.dashboard-nav .logout-link {
    margin-top: 30px;
    color: #fca5a5;
}


/* ============================= */
/* MAIN AREA */
/* ============================= */

.dashboard-main {
    flex: 1;
    min-width: 0;
}


/* ============================= */
/* TOPBAR */
/* ============================= */

.dashboard-topbar {
    background: white;
    padding: 20px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-topbar h3 {
    margin: 0;
    font-size: 22px;
}

.dashboard-topbar p {
    margin: 5px 0 0;
    color: #6b7280;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}


/* ============================= */
/* CONTENT */
/* ============================= */

.dashboard-content {
    padding: 35px;
}

.welcome-section {
    margin-bottom: 30px;
}

.welcome-section h1 {
    margin-bottom: 10px;
}

.welcome-section p {
    color: #6b7280;
}


/* ============================= */
/* STATISTICS CARDS */
/* ============================= */

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.dashboard-stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    font-size: 28px;
}

.dashboard-stat-card h3 {
    margin: 15px 0 8px;
}

.dashboard-stat-card strong {
    display: block;
    font-size: 28px;
    margin-bottom: 5px;
}

.dashboard-stat-card p {
    color: #6b7280;
    margin: 0;
}


/* ============================= */
/* SECTIONS */
/* ============================= */

.dashboard-section {
    margin-bottom: 35px;
}

.section-heading {
    margin-bottom: 15px;
}

.section-heading h2 {
    font-size: 20px;
}


/* ============================= */
/* QUICK ACTIONS */
/* ============================= */

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quick-action-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    color: #111827;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


/* ============================= */
/* ACTIVITY */
/* ============================= */

.activity-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.activity-card p {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.activity-card p:last-child {
    border-bottom: none;
}


/* ============================= */
/* MOBILE RESPONSIVENESS */
/* ============================= */

@media (max-width: 768px) {

    .dashboard-layout {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        padding: 15px;
    }

    .sidebar-logo {
        margin-bottom: 15px;
    }

    .dashboard-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .dashboard-nav a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .dashboard-nav .logout-link {
        margin-top: 0;
    }

    .dashboard-topbar {
        padding: 20px;
    }

    .dashboard-content {
        padding: 20px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

}

/* ============================= */
/* PROFILE PAGE */
/* ============================= */

.profile-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.profile-avatar {
    width: 90px;
    height: 90px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    font-weight: bold;
}

.profile-information h2 {
    margin: 0 0 8px;
}

.profile-information p {
    color: #6b7280;
    margin: 0;
}


/* PROFILE DETAILS */

.profile-details-card {
    background: white;
    border-radius: 12px;
    padding: 10px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.profile-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}

.profile-detail:last-child {
    border-bottom: none;
}

.profile-detail span {
    color: #6b7280;
}

.profile-detail strong {
    color: #111827;
}


/* MOBILE PROFILE */

@media (max-width: 768px) {

    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

}

/* ============================= */
/* EDIT PROFILE */
/* ============================= */

.edit-profile-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 13px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
}

.form-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 25px;
}

.form-buttons button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 13px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.form-buttons button:hover {
    background: #1d4ed8;
}

.form-buttons a {
    text-decoration: none;
    color: #6b7280;
}

.form-buttons a:hover {
    color: #111827;
}

@media (max-width: 768px) {

    .edit-profile-card {
        padding: 20px;
    }

    .form-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .form-buttons button {
        width: 100%;
    }

    .form-buttons a {
        text-align: center;
    }

}

/* ============================= */
/* PROFILE PICTURE UPLOAD */
/* ============================= */

.profile-picture-upload {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
}

.edit-profile-image,
.edit-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

.edit-profile-image {
    display: block;
    object-fit: cover;
}

.edit-profile-avatar {
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
}

.profile-picture-upload label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.profile-picture-upload input {
    display: block;
    margin: auto;
}

.profile-avatar-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.forgot-password {
    display: block;
    margin: 10px 0;
    text-align: right;
    color: #2563eb;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}