/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Decorative Lines */
.decorative-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.line-top-left {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 200px;
    height: 100px;
    transform: rotate(-15deg);
}

.line-top-right {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 200px;
    height: 100px;
    transform: rotate(15deg);
}

.line-bottom-left {
    position: absolute;
    bottom: 20%;
    left: 8%;
    width: 180px;
    height: 80px;
    transform: rotate(25deg);
}

.line-bottom-right {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 220px;
    height: 120px;
    transform: rotate(-20deg);
}

/* Main Wrapper */
.login-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
}

/* Top Title */
.top-title {
    text-align: center;
    margin-bottom: 20px;
}

.top-title h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #44959d;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
}

/* Login Container */
.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

/* Login Card */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Logo Section */
.logo-section {
    margin-bottom: 30px;
}

.logo-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8c0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
}

/* Sign In Section */
.signin-section {
    text-align: left;
}

.signin-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.signin-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #4a90e2;
    border-radius: 2px;
}

/* Form Styles */
.login-form {
    margin-top: 30px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 15px 0;
    font-size: 16px;
    color: #333;
    background: transparent;
    border: none;
    border-bottom: 2px solid #ddd;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-bottom-color: #4a90e2;
}

.form-input::placeholder {
    color: #999;
    font-size: 14px;
}

/* Checkbox Styles */
.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    user-select: none;
}

.checkbox-input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-input:checked + .checkmark {
    background: #4a90e2;
    border-color: #4a90e2;
}

.checkbox-input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

/* Bottom Title */
.bottom-title {
    text-align: center;
    margin-top: 20px;
}

.bottom-title h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #44959d;
    margin: 0;
}

/* Alert Styles */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background-color: #efe;
    color: #363;
    border: 1px solid #cfc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-wrapper {
        padding: 20px 15px;
    }

    .top-title h1 {
        font-size: 2rem;
    }

    .login-card {
        padding: 30px 25px;
        margin: 0 10px;
    }

    .logo-circle {
        width: 100px;
        height: 100px;
    }

    .logo-img {
        width: 65px;
        height: 65px;
    }

    .signin-title {
        font-size: 1.5rem;
    }

    .bottom-title h3 {
        font-size: 1rem;
    }

    .decorative-lines svg {
        width: 150px;
        height: 75px;
    }
}

@media (max-width: 480px) {
    .top-title h1 {
        font-size: 1.8rem;
    }

    .login-card {
        padding: 25px 20px;
    }

    .logo-circle {
        width: 90px;
        height: 90px;
    }

    .logo-img {
        width: 55px;
        height: 55px;
    }
}