﻿/* ================================
   PAGE
================================ */

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    min-height: 100vh;
    /* Attractive background */
    background: radial-gradient(circle at 20% 20%, rgba(74, 144, 226, 0.18), transparent 35%), radial-gradient(circle at 80% 80%, rgba(40, 167, 69, 0.15), transparent 35%), linear-gradient(135deg, #eef5ff, #f8fbff);
    color: #263238;
}


/* ================================
   TOP
================================ */

.TopSection {
    height: 40px;
    width: 100%;
}


/* ================================
   CENTER
================================ */

.center {
    width: 100%;
    min-height: calc(20vh);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.center1 {
    width: 50%;
    min-height: calc(20vh);
    display: inline-block;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.center > #Panel1 {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ================================
   MAIN PANEL
================================ */

#Panel1 {
    width: 430px;
    max-width: 92%;
    padding: 30px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(31, 45, 61, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    margin-left: auto !important;
    margin-right: auto !important;
}


    /* ================================
   WELCOME TITLE
================================ */

    #Panel1 > h1 {
        margin: 0 0 25px 0;
        font-size: 30px;
        font-weight: 700;
        color: #1f2d3d;
        letter-spacing: 0.5px;
    }


/* ================================
   ASP.NET LOGIN BOX
================================ */

/*
   IMPORTANT:
   asp:Login renders a table.
*/

.login-box {
    width: 100%;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
}


    /* Login generated table */

    .login-box table {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-collapse: separate !important;
        border-spacing: 0 12px !important;
        table-layout: fixed;
    }

    /* Label column */
    .login-box td:first-child {
        width: 38% !important;
        padding-right: 12px !important;
        vertical-align: middle !important;
    }


    /* Input/button column */
    .login-box td:last-child {
        width: 62% !important;
        vertical-align: middle !important;
    }


/* ================================
   LOGIN TITLE
================================ */

.login-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1f2d3d !important;
    text-align: center !important;
    padding-bottom: 15px !important;
}


/* ================================
   LABELS
================================ */

.login-label {
    display: inline-block !important;
    width: 100% !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #263238 !important;
    text-align: left !important;
    white-space: normal !important;
}


/* ================================
   INPUTS
================================ */

.login-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 44px;
    padding: 10px 13px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(80, 100, 120, 0.25) !important;
    background: rgba(255, 255, 255, 0.65) !important;
    font-size: 14px !important;
    color: #263238;
    outline: none;
    transition: all 0.25s ease;
}


    /* Input focus */

    .login-input:focus {
        border-color: #4a90e2 !important;
        background: rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
        outline: none;
    }


/* ================================
   REMEMBER ME
================================ */

.login-box input[type="checkbox"] {
    width: auto !important;
    margin: 0 4px 0 0 !important;
    vertical-align: middle;
}


.login-box label[for] {
    color: #455a64;
    font-size: 13px;
}


/* ================================
   LOGIN BUTTON
================================ */

.login-btn {
    width: 100% !important;
    height: 46px;
    padding: 10px !important;
    margin-top: 4px;
    border: none !important;
    border-radius: 10px !important;
    background: linear-gradient( 135deg, #4a90e2, #357abd ) !important;
    color: white !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(53, 122, 189, 0.25);
    transition: 0.25s ease;
}


    /* Login button hover */

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 20px rgba(53, 122, 189, 0.35);
    }


    /* Login button click */

    .login-btn:active {
        transform: translateY(0);
    }


/* ================================
   FORGOT PASSWORD
================================ */

.forgot-link {
    display: inline-block;
    margin-top: 5px;
    color: #2878d4 !important;
    font-size: 13px;
    text-decoration: none;
}


    .forgot-link:hover {
        text-decoration: underline;
    }


/* ================================
   REGISTER BUTTON
================================ */

.signup-link {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 22px;
    padding: 13px 15px;
    border-radius: 12px;
    background: linear-gradient( 135deg, #28a745, #218838 );
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 7px 18px rgba(40, 167, 69, 0.20);
    transition: all 0.25s ease;
}


    .signup-link:hover {
        transform: translateY(-2px);
        background: linear-gradient( 135deg, #218838, #176b2c );
        box-shadow: 0 10px 25px rgba(40, 167, 69, 0.30);
    }


/* ================================
   ERROR / SUCCESS
================================ */

.error {
    display: block;
    margin-top: 12px;
    color: #dc3545;
    font-size: 13px;
    font-weight: 600;
}


.success {
    display: block;
    margin-top: 12px;
    color: #198754;
    font-size: 13px;
    font-weight: 600;
}


/* ================================
   ACTIVATE BUTTON
================================ */

#activateID {
    margin-top: 12px;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    background: linear-gradient( 135deg, #ff9800, #e68900 );
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

    #activateID:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(230, 137, 0, 0.30);
    }

/* ================================
   BOTTOM
================================ */

.BottomSection {
    height: 40px;
    width: 100%;
}


/* ================================
   MOBILE
================================ */

@media (max-width: 500px) {

    #Panel1 {
        width: 92%;
        padding: 22px;
        border-radius: 20px;
    }

    .login-title {
        font-size: 23px !important;
    }

    .login-label {
        font-size: 20px !important;
    }

    .signup-link {
        font-size: 14px;
    }
}

/* Reset & base */
/*body {
    margin: 10px;
    font-family: "Segoe UI", Arial, sans-serif;
    background: none;
    display: flex;    
    min-height: 100vh;
}*/

/* Top & Bottom */
/*.TopSection, .BottomSection {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-size: 14px;
    width: 363px;
}*/

/* Center area */
/*.center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}*/

/* Main panel (glass effect) */
/*#Panel1 {
    width:100px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    padding: 20px;
    align-self :center;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.3);
}*/

/* Inner login box */
/*.login-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
}*/

/* Title */
/*.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2d3d;
    text-align: center;
    margin-bottom: 25px;
}*/

/* Labels */
/*.login-label {
    font-weight: 700;
    color: #444;
    font-size: 18px;
    text-align: left;
    align-items : center;
}*/

/* Inputs */
/*.login-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-top: 6px;
    margin-bottom: 18px;
    margin-left: 12px;
    font-size: 14px;
    transition: all 0.25s ease;
    background-color: #f9fbff;
}

    .login-input:focus {
        border-color: #4a90e2;
        background-color: #fff;
        box-shadow: 0 0 8px rgba(74,144,226,0.3);
        outline: none;
    }*/

/* Login button */
/*.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #fff;
    padding: 13px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }*/

/* Forgot password */
/*.forgot-link {
    display: block;
    text-align: right;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #4a90e2;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

    .forgot-link:hover {
        color: #2c6ed5;
        text-decoration: underline;
    }*/

/* Signup */
/*.signup-link {
    display: block;
    text-align: center;
    margin-top: 18px;
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
}

    .signup-link:hover {
        transform: scale(1.05);
    }*/

/* Messages */
/*.error {
    color: #e53935;
    font-weight: 600;
    margin-bottom: 10px;
}

.success {
    color: #2e7d32;
    font-weight: 600;
    margin-bottom: 10px;
}*/

/* Activate button */
/*#activateID {
    margin-top: 10px;
    background: linear-gradient(135deg, #ff9800, #e68900);
    color: white;
    border-radius: 8px;
    padding: 10px 18px;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}

    #activateID:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }*/

/* Headings */
/*h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
}*/

