@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #2b2727, #494c56);
}

.wrapper {
    width: 400px;
    background: linear-gradient(to top, #65a5ff, #0055ff);
    border-radius: 8px;
    box-shadow: 0 3px 10px #0088ff;
    padding: 30px 40px;
    animation: fade-in 1s ease-out both;
}

@media (max-width: 500px) {
    .wrapper {
        width: 100vw;
        min-height: 100vh;
        background: linear-gradient(to top, #65a5ff, #0055ff);
        justify-content: center;
        align-items: center;
        border-radius: 8px;
        box-shadow: 0 3px 10px #0088ff;
        padding: 30px 40px;
        animation: fade-in 1s ease-out both;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wrapper h1 {
    color: #fff;
    font-size: 36px;
    text-align: center;
}

.wrapper .input-box {
    position: relative;
    height: 50px;
    width: 100%;
    margin-top: 20px;
}

.input-box input {
    transition: 0.3s ease-in;
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 0 30px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    outline: none;
    color: #fff;
    font-size: 0px;
    border-bottom: 2px solid #fff;
    border-radius: 10px;
}

.input-box input:focus,
.input-box input:valid {
    font-size: 16px;
    transition: 0.3s ease-out;
}

.input-box input::placeholder {
    color: #fff;
}

.wrapper .profile-picture {
    border-radius: 8px;
    border: none;
    outline: none;
    text-align: center;
}

.wrapper .error-txt {
    color: #ff0000;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

@keyframes popout {
    0% { font-size: 5px; opacity: 0; }
    70% { font-size: 14px; opacity: 1; }
    100% { font-size: 14px; }
}

.wrapper .remember-forgot {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    text-align: center;
}

.remember-forgot label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2e2e2e;
}

.remember-forgot label input {
    accent-color: #2e2e2e;
}

.remember-forgot a {
    color: #2e2e2e;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
    color: #000000;
}

.wrapper .btn {
    transition: 0.4s ease-in;
    width: 100%;
    height: 45px;
    background: transparent;
    background-color: #0088ff;
    color: white;
    margin-top: 30px;
    border: none;
    outline: none;
    border-radius: 8px;
    border: 2px solid #0065bc;
    box-shadow: 0 1px 6px #0065bc;
}

.btn:hover {
    color: #aeaeae;
    font-size: 15px;
    transition: 0.4s ease-out;
}

.wrapper .register-link {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
}

.register-link a {
    color: #2e2e2e;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
    color: #000000;
}

.input-box img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    filter: invert(100%)
}

.wrapper2 .btn2 {
    text-align: center;
    align-items: center;
    width: 100%;
    height: 45px;
    background: #ff9d65;
    margin-top: 30px;
    border: none;
    outline: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

body {
    font-size: 32px;
    background-color: #2d2d36;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Arial', sans-serif;
}

.wrapper2 {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

h1 {
    color: #ff944d;
    margin-top: 0;
    margin-bottom: 10px;
}

p {
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
}

.btn2 {
    background-color: #ff9d65;
    color: #2d2d36;
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: box-shadow 0.6s;
}

.btn2:hover {
    box-shadow: 0 0 10px #ff9a57;
}

.users {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.users header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    color: #4d9aff;
    margin-bottom: 10px;
}

.users header .details {
    margin-left: 10px;
}

.users header .details span {
    display: block;
    font-size: 25px;
    color: #4d9aff;
}


.users header .content img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.users header .logout {
    transition: 0.5s;
    text-decoration: none;
    font-size: 20px;
    padding: 5px 10px;
    background-color: #65f5ff;
    border-radius: 5px;
    color : #000000;
}

.users header .logout:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #00b3ff;
    transition: 0.5s;
}

.users .search .text {
    font-size: 20px;
}

.users .search input {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    font-size: 16px;
}

.users-list {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.users-list a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #4d9aff;
    page-break-inside: avoid;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 2s;
}

.users-list a:hover {
    color: #83b9ff;
    transition: background-color 2s;
}

.users-list a .content img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 10px;
}

.no-select {
  user-select: none;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE10+ */
  -webkit-user-drag: none;   /* Prevents ghost-image dragging in WebKit browsers */
}


.users-list a .content {
    display: flex;
    align-items: center;
    min-width: 0;
}

.users-list a .details {
    font-size: 20px;
    display: flex;
    flex-direction: column;
}


.auth {
    display: inline-block;
    transition: 0.3s ease;
    text-decoration: none;
    font-size: 20px;
    padding: 8px 15px;
    background-color: #ff9d65;
    border-radius: 5px;
    color: #ff4800;
    margin-right: 15px;
}

.auth:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #ff0000;
    background-color: #ffb58f;
}

.auth:last-child {
    margin-right: 0;
}

.usernameTXT {
    color: #0088ff; 
    font-weight: bold; 
    filter: drop-shadow(0 0 5px #0088ff);
}

.usernameTXT:hover {
    color: #0088ff; 
    font-weight: bold; 
    filter: drop-shadow(0 0 10px #0088ff);
}
.WelcomeTXT {
    transition: 0.3s ease-in;
    margin-bottom: 0px;
    opacity: 1;
}
.WelcomeTXT:hover {
    margin-bottom: 25px;
    opacity: 0;
    transition: 0.4s ease-in;
}

.panelBox {
    width: 1400px;
    height: 650px;
    background: linear-gradient(to top, #1f1f1f, #201e23);
    border-radius: 8px;
    box-shadow: 0 3px 10px #000000;
    animation: fade-up 0.5s ease-in-out both;
    display: flex;
    gap: 10px;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(100px); scale: 0.9;
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panelBox .AccName {
    color: #0088ff; 
    font-weight: bold; 
    filter: drop-shadow(0 0 10px #0088ff);
    transform: translateX(1%);
}

.panelBox img {
    filter: drop-shadow(0 0 10px #000);
    height: 100px;
    width: 100px;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    -webkit-user-drag: none;   /* Prevents ghost-image dragging in WebKit browsers */
    transform: translateX(1175px);
    margin-bottom: 100px;
    align-items: right;
    justify-content: right;
}