* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body{
    height: 100vh;
    background: radial-gradient(circle at top, #1a2a3a, #0d1117);
    color: #e6edf3;
}

#formMessage{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: capitalize;
    padding: 5px 15px;
    border: 1px solid #ccc;
    background: #fff;
    font-weight: 600;
    color: #000;
    border-radius: 10px;
    width: 100%;
    margin: 15px auto;
    transition: all ease 0.2s;
    font-size: 15px;
    word-wrap: break-word;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.4s;
    align-items: center;
}

#messageBox{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: capitalize;
    padding: 5px 15px;
    border: 1px solid #ccc;
    background: #fff;
    font-weight: 600;
    color: #000;
    border-radius: 10px;
    width: 100%;
    margin: 15px auto;
    transition: all ease 0.2s;
    font-size: 15px;
    word-wrap: break-word;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.4s;
    align-items: center;
}

#install-btn{
    padding: 10px;
    border-radius: 5px;
    background-color: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    width: 120px;
    margin: 0 auto;
    margin-bottom: 20px;
    cursor: pointer;
}
#install-btn:hover{
    transform: translateY(-2px);
    transition: all ease 0.3s;
}

#enableNotifications{
    padding: 10px;
    border-radius: 20px;
    background-color: #00ffd5;
    color: #000;
    border: none;
    cursor: pointer;
    font-weight: 600;
    width: 180px;
    margin: 0 auto;
    margin-bottom: 20px;
    cursor: pointer; 
    display: flex;
    align-items: center;
}
#enableNotifications:hover{
    transform: translateY(-2px);
    transition: all ease 0.3s;
}

@keyframes fadeUp {
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

.empty{
    text-align: center;
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00ffcc;
    font-weight: 600;
}

@media (max-width: 549px) {
    /*
    =========
    HOME CSS
    =========
    */


    .wrap{
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #e6edf3;
    }
    .app{
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
        border-radius: 22px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 0 40px rgba(0, 255, 200, 0.06);
        height: 85vh;
        margin-left: 5px;
        margin-right: 5px;
        width: 100%;
    }
    header{
        padding: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        background: rgba(255,255,255,0.04);
        margin-bottom: 10px;
    }
    header .logo{
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 2px;
    }
    header #username{
        font-size: 0.9rem;
        opacity: 0.7;
    }
    header button{
        padding: 5px 10px;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        background: linear-gradient(135deg, #00ffcc, #0088ff);
        color: #0d1117;
        font-weight: 600;
        transition: 0.3s;
        font-size: 0.8rem;
    }
    header button:hover {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0,255,200,0.3);
    }
    .contacts{
        width: 100%;
        height: 76vh;
        padding: 10px;
        overflow-y: auto;
    }
    .contacts .userCard{
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px;
        border-radius: 14px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        transition: 0.3s;
        cursor: pointer;
        margin-bottom: 5px;
    }
    .contacts .userCard:hover {
        transform: translateY(-2px);
        background: rgba(0,255,200,0.06);
        border-color: rgba(0,255,200,0.2);
    }
    .contacts .userCard .cover{
        display: flex;
        width: 100%;
        gap: 5px;
    }
    .contacts .userCard .badge{
        background:red;
        color:white;
    
        width:22px;
        height:22px;
    
        border-radius:50%;
    
        display:flex;
        align-items:center;
        justify-content:center;
    
        font-size:12px;
    }
    .contacts .userCard .avator{
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, #00ffcc, #0088ff);
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        color: #0b0f14;
        position: relative;
        text-transform: capitalize;
    }
    .contacts .userCard .username{
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: capitalize;
        margin-bottom: 2px;
        word-wrap: break-word;
    }
    .contacts .userCard .text{
       font-size: 12px;
       opacity: 0.6;
    }

    /*ADD CONTACT FORM*/
    .addContactDiv{
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        height: 100%; 
        background: rgba(0,0,0,0.5); 
        display: flex; 
        justify-content: center; 
        align-items: center; 

    }
    .addContactDiv form{
        background-color: #fff;
        width: 90%;
        padding: 20px;
        border-radius: 15px;
    }
    .addContactDiv form .formHeadwrap{
        display: flex;
        gap: 10px;
        align-items: center;
        margin-bottom: 20px;
    }
    .addContactDiv form .formHeadwrap h3{
        width: 100%;
        text-align: center;
        color: #000;

    }
    .addContactDiv form input{
        width: 100%;
        padding: 15px;
        border-radius: 15px;
        margin-bottom: 10px;
        text-align: center;
        border: 1px solid #ccc;
    }
    .addContactDiv form input:focus{
        outline: none;
        border-color: #0088ff;
    }
    .addContactDiv form button{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        font-weight: 600;
        background: linear-gradient(135deg, #00ffcc, #0088ff);
    }
    .addContactDiv form button:hover{
        transform: translateY(-2px);
        background: rgba(0,255,200,0.06);
        border-color: rgba(0,255,200,0.2);
        cursor: pointer;
    }


    /*
    ============
    LOGIN SCREEN
    ===========
    */
    .login{
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        height: 100%; 
        display: flex; 
        justify-content: center; 
        align-items: center; 
    }
    .login form{
        width: 95%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 0 40px rgba(0, 255, 200, 0.08);
        padding: 20px;
        border-radius: 25px;
    }
    .login form .imgLogo{
        margin: 0 auto;
        display: block;
        border-radius: 50%;
        width: 90px;
        height: 90px;
        margin-bottom: 3px;
    }
    .login form .small{
        text-align: center;
        margin-bottom: 20px;
        opacity: 0.7;
        font-size: 0.9rem;
    }
    .login form .emailInput{
        width: 100%;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #fff;
        font-weight: 600;
        padding-left: 60px;
    }

    .login form .passInput{
        width: 100%;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #fff;
        font-weight: 600;
    }
    .login form input:focus{
        border: 1px solid #ccc;
        outline: none;
    }
    .login form .wrapInput{
        margin-bottom: 20px;
        position: relative;
    }
    .login form .wrapInput .emailLogo{
        position: absolute;
        left: -10px;
        top: -3px;
        border: 1px solid #ccc;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;

    }
    .login form .wrapInput .emailLogo img{
        width: 30px;
        height: 30px;
    }
    .login form .wrapInput .passwordLogo{
        position: absolute;
        right: -10px;
        top: -3px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .login form .wrapInput .passwordLogo img{
        width: 30px;
        height: 30px;
    }
    .login form .formField{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        gap: 5px;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .login form .loginBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 1.1rem;
        font-weight: 600;
    }
    .login form p{
        text-align: center;
        margin-bottom: 5px;
        margin-top: 5px;
        font-weight: 600;
    }
    .login form .googleBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    .login form a{
        text-decoration: none;
        text-align: center;
        color: #fff;
        margin: 0 auto;
        display: block;
    }
    .login form a span{
        color: #00ffd5;
        font-weight: 600;
    }


    /*
    ================
    SIGNUP FORM
    ================
    */
    .signup{
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        height: 100%; 
        display: flex; 
        justify-content: center; 
        align-items: center;   
    }
    .signup form{
        width: 95%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 0 40px rgba(0, 255, 200, 0.08);
        padding: 20px;
        border-radius: 25px;
    }
    .signup form .imgLogo{
        margin: 0 auto;
        display: block;
        border-radius: 50%;
        width: 90px;
        height: 90px;
        margin-bottom: 3px;
    }
    .signup form .small{
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.3rem;
        font-weight: 600;
    }
    .signup form .input{
        width: 100%;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #fff;
        font-weight: 600;
        padding-left: 60px;
    }
    .signup form input:focus{
        border: 1px solid #ccc;
        outline: none;
    }
    .signup form .wrapInput{
        margin-bottom: 25px;
        position: relative;
    }
    .signup form .wrapInput .emailLogo{
        position: absolute;
        left: -10px;
        top: -2px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .signup form .wrapInput .userLogo{
        position: absolute;
        left: -10px;
        top: -2px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .signup form .wrapInput .passLogo{
        position: absolute;
        left: -10px;
        top: -2px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .signup form .wrapInput img{
        width: 30px;
        height: 30px;
    }
    .signup form .formField{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        gap: 5px;
        font-size: 0.9rem;
        font-weight: 600;
    }
    .signup form .loginBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 1.1rem;
        font-weight: 600;
    }
    .signup form p{
        text-align: center;
        margin-bottom: 5px;
        margin-top: 5px;
        font-weight: 600;
    }
    .signup form .googleBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    .signup form a{
        text-decoration: none;
        text-align: center;
        color: #fff;
        margin: 0 auto;
        display: block;
    }
    .signup form a span{
        color: #00ffd5;
        font-weight: 600;
    }
}

@media (min-width: 550px) and (max-width: 758px) {
  /*
    =========
    HOME CSS
    =========
    */
    .wrap{
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #e6edf3;
    }
    .app{
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
        border-radius: 22px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 0 40px rgba(0, 255, 200, 0.06);
        height: 90vh;
        margin-left: 5px;
        margin-right: 5px;
        width: 95%;
        
    }
    header{
        padding: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        background: rgba(255,255,255,0.04);
        margin-bottom: 10px;
    }
    header .logo{
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 2px;
    }
    header #username{
        font-size: 0.9rem;
        opacity: 0.7;
    }
    header button{
        padding: 5px 10px;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        background: linear-gradient(135deg, #00ffcc, #0088ff);
        color: #0d1117;
        font-weight: 600;
        transition: 0.3s;
        font-size: 0.8rem;
    }
    header button:hover {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0,255,200,0.3);
    }
    .contacts{
        width: 100%;
        height: 76vh;
        padding: 10px;
        overflow-y: auto;
    }
    .contacts .userCard{
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px;
        border-radius: 14px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        transition: 0.3s;
        cursor: pointer;
        margin-bottom: 5px;
    }
    .contacts .userCard:hover {
        transform: translateY(-2px);
        background: rgba(0,255,200,0.06);
        border-color: rgba(0,255,200,0.2);
    }
    .contacts .userCard .cover{
        display: flex;
        width: 100%;
        gap: 5px;
    }
    .contacts .userCard .badge{
        background:red;
        color:white;
    
        width:22px;
        height:22px;
    
        border-radius:50%;
    
        display:flex;
        align-items:center;
        justify-content:center;
    
        font-size:12px;
    }
    .contacts .userCard .avator{
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, #00ffcc, #0088ff);
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        color: #0b0f14;
        position: relative;
        text-transform: capitalize;
    }
    .contacts .userCard .username{
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: capitalize;
        margin-bottom: 2px;
    }
    .contacts .userCard .text{
       font-size: 12px;
       opacity: 0.6;
    }

    /*ADD CONTACT FORM*/
    .addContactDiv{
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        height: 100%; 
        background: rgba(0,0,0,0.5); 
        display: flex; 
        justify-content: center; 
        align-items: center; 
    }
    .addContactDiv form{
        background-color: #fff;
        width: 450px;
        padding: 20px;
        border-radius: 15px;
    }
    .addContactDiv form .formHeadwrap{
        display: flex;
        gap: 10px;
        align-items: center;
        margin-bottom: 20px;
    }
    .addContactDiv form .formHeadwrap h3{
        width: 100%;
        text-align: center;
        color: #000;
    }
    .addContactDiv form input{
        width: 100%;
        padding: 15px;
        border-radius: 15px;
        margin-bottom: 10px;
        text-align: center;
        border: 1px solid #ccc;
    }
    .addContactDiv form input:focus{
        outline: none;
        border-color: #0088ff;
    }
    .addContactDiv form button{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        font-weight: 600;
        background: linear-gradient(135deg, #00ffcc, #0088ff);
    }
    .addContactDiv form button:hover{
        transform: translateY(-2px);
        background: rgba(0,255,200,0.06);
        border-color: rgba(0,255,200,0.2);
        cursor: pointer;
    }

    /*
    ============
    LOGIN SCREEN
    ===========
    */
    .login{
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        height: 100%; 
        display: flex; 
        justify-content: center; 
        align-items: center; 
    }
    .login form{
        width: 450px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 0 40px rgba(0, 255, 200, 0.08);
        padding: 20px;
        border-radius: 25px;
    }
    .login form .imgLogo{
        margin: 0 auto;
        display: block;
        border-radius: 50%;
        width: 90px;
        height: 90px;
        margin-bottom: 3px;
    }
    .login form .small{
        text-align: center;
        margin-bottom: 20px;
        opacity: 0.7;
        font-size: 0.9rem;
    }
    .login form .emailInput{
        width: 100%;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #fff;
        font-weight: 600;
        padding-left: 60px;
    }

    .login form .passInput{
        width: 100%;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #fff;
        font-weight: 600;
    }
    .login form input:focus{
        border: 1px solid #ccc;
        outline: none;
    }
    .login form .wrapInput{
        margin-bottom: 20px;
        position: relative;
    }
    .login form .wrapInput .emailLogo{
        position: absolute;
        left: -10px;
        top: -3px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;

    }
    .login form .wrapInput .emailLogo img{
        width: 30px;
        height: 30px;
    }
    .login form .wrapInput .passwordLogo{
        position: absolute;
        right: -10px;
        top: -3px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .login form .wrapInput .passwordLogo img{
        width: 30px;
        height: 30px;
    }
    .login form .formField{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        gap: 5px;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .login form .loginBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
    }
    .login form .loginBtn:hover{
        transition: all ease 0.2s;
        transform: translateY(-2px);
        box-shadow: 0 0 20px rgba(0, 255, 213, 0.35);
    }
    .login form p{
        text-align: center;
        margin-bottom: 5px;
        margin-top: 5px;
        font-weight: 600;
    }
    .login form .googleBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }
    .login form .googleBtn:hover{
        transition: all ease 0.2s;
        transform: translateY(-2px);
        box-shadow: 0 0 20px rgba(0, 255, 213, 0.35);
    }
    .login form a{
        text-decoration: none;
        text-align: center;
        color: #fff;
        margin: 0 auto;
        display: block;
    }
    .login form a span{
        color: #00ffd5;
        font-weight: 600;
    }
    .login form a span:hover{
        text-decoration: underline;
    }

    /*
    ================
    SIGNUP FORM
    ================
    */
    .signup{
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        height: 100%; 
        display: flex; 
        justify-content: center; 
        align-items: center;   
    }
    .signup form{
        width: 450px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 0 40px rgba(0, 255, 200, 0.08);
        padding: 20px;
        border-radius: 25px;
    }
    .signup form .imgLogo{
        margin: 0 auto;
        display: block;
        border-radius: 50%;
        width: 90px;
        height: 90px;
        margin-bottom: 3px;
    }
    .signup form .small{
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.3rem;
        font-weight: 600;
    }
    .signup form .input{
        width: 100%;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #fff;
        font-weight: 600;
        padding-left: 60px;
    }
    .signup form input:focus{
        border: 1px solid #ccc;
        outline: none;
    }
    .signup form .wrapInput{
        margin-bottom: 25px;
        position: relative;
    }
    .signup form .wrapInput .emailLogo{
        position: absolute;
        left: -10px;
        top: -2px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .signup form .wrapInput .userLogo{
        position: absolute;
        left: -10px;
        top: -2px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .signup form .wrapInput .passLogo{
        position: absolute;
        left: -10px;
        top: -2px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .signup form .wrapInput img{
        width: 30px;
        height: 30px;
    }
    .signup form .formField{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        gap: 5px;
        font-size: 0.9rem;
        font-weight: 600;
    }
    .signup form .loginBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 1.1rem;
        font-weight: 600;
    }
    .signup form p{
        text-align: center;
        margin-bottom: 5px;
        margin-top: 5px;
        font-weight: 600;
    }
    .signup form .googleBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    .signup form a{
        text-decoration: none;
        text-align: center;
        color: #fff;
        margin: 0 auto;
        display: block;
    }
    .signup form a span{
        color: #00ffd5;
        font-weight: 600;
    }
    .signup form a span:hover{
        text-decoration: underline;
    }
    .signup form .loginBtn:hover{
        transition: all ease 0.2s;
        transform: translateY(-2px);
        cursor: pointer;
        box-shadow: 0 0 20px rgba(0, 255, 213, 0.35);
    }
    .signup form .googleBtn:hover{
        transition: all ease 0.2s;
        transform: translateY(-2px);
        cursor: pointer;
        box-shadow: 0 0 20px rgba(0, 255, 213, 0.35);
    }
}


@media (min-width: 759px){
    .wrap{
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #e6edf3;
    }
    .app{
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(20px);
        border-radius: 22px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: 0 0 40px rgba(0, 255, 200, 0.06);
        height: 90vh;
        margin-left: 15px;
        margin-right: 15px;
        width: 900px;
    }
    header{
        padding: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        background: rgba(255,255,255,0.04);
        margin-bottom: 10px;
    }
    header .logo{
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 2px;
    }
    header #username{
        font-size: 0.9rem;
        opacity: 0.7;
    }
    header button{
        padding: 5px 10px;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        background: linear-gradient(135deg, #00ffcc, #0088ff);
        color: #0d1117;
        font-weight: 600;
        transition: 0.3s;
        font-size: 0.8rem;
    }
    header button:hover {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(0,255,200,0.3);
    }
    .contacts{
        width: 100%;
        height: 76vh;
        padding: 10px;
        overflow-y: auto;
    }
    .contacts .userCard{
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px;
        border-radius: 14px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        transition: 0.3s;
        cursor: pointer;
        margin-bottom: 5px;
    }
    .contacts .userCard:hover {
        transform: translateY(-2px);
        background: rgba(0,255,200,0.06);
        border-color: rgba(0,255,200,0.2);
    }
    .contacts .userCard .cover{
        display: flex;
        width: 100%;
        gap: 5px;
    }
    .contacts .userCard .badge{
        background:red;
        color:white;
    
        width:22px;
        height:22px;
    
        border-radius:50%;
    
        display:flex;
        align-items:center;
        justify-content:center;
    
        font-size:12px;
    }
    .contacts .userCard .avator{
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, #00ffcc, #0088ff);
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        color: #0b0f14;
        position: relative;
        text-transform: capitalize;
    }
    .contacts .userCard .username{
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: capitalize;
        margin-bottom: 2px;
    }
    .contacts .userCard .text{
       font-size: 12px;
       opacity: 0.6;
    }
    /*ADD CONTACT FORM*/
    .addContactDiv{
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        height: 100%; 
        background: rgba(0,0,0,0.5); 
        display: flex; 
        justify-content: center; 
        align-items: center; 
    }
    .addContactDiv form{
        background-color: #fff;
        width: 450px;
        padding: 20px;
        border-radius: 15px;
    }
    .addContactDiv form .formHeadwrap{
        display: flex;
        gap: 10px;
        align-items: center;
        margin-bottom: 20px;
    }
    .addContactDiv form .formHeadwrap h3{
        width: 100%;
        text-align: center;
        color: #000;
    }
    .addContactDiv form input{
        width: 100%;
        padding: 15px;
        border-radius: 15px;
        margin-bottom: 10px;
        text-align: center;
        border: 1px solid #ccc;
    }
    .addContactDiv form input:focus{
        outline: none;
        border-color: #0088ff;
    }
    .addContactDiv form button{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        font-weight: 600;
        background: linear-gradient(135deg, #00ffcc, #0088ff);
    }
    .addContactDiv form button:hover{
        transform: translateY(-2px);
        background: rgba(0,255,200,0.06);
        border-color: rgba(0,255,200,0.2);
        cursor: pointer;
    }


    /*
    ============
    LOGIN SCREEN
    ===========
    */
    .login{
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        height: 100%; 
        display: flex; 
        justify-content: center; 
        align-items: center; 
    }
    .login form{
        width: 450px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 0 40px rgba(0, 255, 200, 0.08);
        padding: 20px;
        border-radius: 25px;
    }
    .login form .imgLogo{
        margin: 0 auto;
        display: block;
        border-radius: 50%;
        width: 90px;
        height: 90px;
        margin-bottom: 3px;
    }
    .login form .small{
        text-align: center;
        margin-bottom: 20px;
        opacity: 0.7;
        font-size: 0.9rem;
    }
    .login form .emailInput{
        width: 100%;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #fff;
        font-weight: 600;
        padding-left: 60px;
    }

    .login form .passInput{
        width: 100%;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #fff;
        font-weight: 600;
    }
    .login form input:focus{
        border: 1px solid #ccc;
        outline: none;
    }
    .login form .wrapInput{
        margin-bottom: 20px;
        position: relative;
    }
    .login form .wrapInput .emailLogo{
        position: absolute;
        left: -10px;
        top: -3px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;

    }
    .login form .wrapInput .emailLogo img{
        width: 30px;
        height: 30px;
    }
    .login form .wrapInput .passwordLogo{
        position: absolute;
        right: -10px;
        top: -3px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .login form .wrapInput .passwordLogo img{
        width: 30px;
        height: 30px;
    }
    .login form .formField{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        gap: 5px;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .login form .loginBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
    }
    .login form .loginBtn:hover{
        transition: all ease 0.2s;
        transform: translateY(-2px);
        box-shadow: 0 0 20px rgba(0, 255, 213, 0.35);
    }
    .login form p{
        text-align: center;
        margin-bottom: 5px;
        margin-top: 5px;
        font-weight: 600;
    }
    .login form .googleBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
    }
    .login form .googleBtn:hover{
        transition: all ease 0.2s;
        transform: translateY(-2px);
        box-shadow: 0 0 20px rgba(0, 255, 213, 0.35);
    }
    .login form a{
        text-decoration: none;
        text-align: center;
        color: #fff;
        margin: 0 auto;
        display: block;
    }
    .login form a span{
        color: #00ffd5;
        font-weight: 600;
    }
    .login form a span:hover{
        text-decoration: underline;
    }


    /*
    ================
    SIGNUP FORM
    ================
    */
    .signup{
        position: fixed; 
        top: 0; 
        left: 0;
        width: 100%; 
        height: 100%; 
        display: flex; 
        justify-content: center; 
        align-items: center;   
    }
    .signup form{
        width: 450px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 0 40px rgba(0, 255, 200, 0.08);
        padding: 20px;
        border-radius: 25px;
    }
    .signup form .imgLogo{
        margin: 0 auto;
        display: block;
        border-radius: 50%;
        width: 90px;
        height: 90px;
        margin-bottom: 3px;
    }
    .signup form .small{
        text-align: center;
        margin-bottom: 20px;
        font-size: 1.3rem;
        font-weight: 600;
    }
    .signup form .input{
        width: 100%;
        padding: 20px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: radial-gradient(circle at top, #182534, #0b0f14);
        color: #fff;
        font-weight: 600;
        padding-left: 60px;
    }
    .signup form input:focus{
        border: 1px solid #ccc;
        outline: none;
    }
    .signup form .wrapInput{
        margin-bottom: 25px;
        position: relative;
    }
    .signup form .wrapInput .emailLogo{
        position: absolute;
        left: -10px;
        top: -2px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .signup form .wrapInput .userLogo{
        position: absolute;
        left: -10px;
        top: -2px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .signup form .wrapInput .passLogo{
        position: absolute;
        left: -10px;
        top: -2px;
        background: #fff;
        border-radius: 50%;
        height: 65px;
        width: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
    }
    .signup form .wrapInput img{
        width: 30px;
        height: 30px;
    }
    .signup form .formField{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        gap: 5px;
        font-size: 0.9rem;
        font-weight: 600;
    }
    .signup form .loginBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 1.1rem;
        font-weight: 600;
    }
    .signup form p{
        text-align: center;
        margin-bottom: 5px;
        margin-top: 5px;
        font-weight: 600;
    }
    .signup form .googleBtn{
        width: 100%;
        padding: 15px;
        border: none;
        border-radius: 15px;
        background: linear-gradient(135deg, #00ffd5, #0077ff);
        margin-bottom: 10px;
        font-size: 0.9rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    .signup form a{
        text-decoration: none;
        text-align: center;
        color: #fff;
        margin: 0 auto;
        display: block;
    }
    .signup form a span{
        color: #00ffd5;
        font-weight: 600;
    }
    .signup form a span:hover{
        text-decoration: underline;
    }
    .signup form .loginBtn:hover{
        transition: all ease 0.2s;
        transform: translateY(-2px);
        cursor: pointer;
        box-shadow: 0 0 20px rgba(0, 255, 213, 0.35);
    }
    .signup form .googleBtn:hover{
        transition: all ease 0.2s;
        transform: translateY(-2px);
        cursor: pointer;
        box-shadow: 0 0 20px rgba(0, 255, 213, 0.35);
    }
}
    