.login-container {
    display: flex;
    flex-direction: column; /* Default: stacked layout */
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.55);
    border-radius: 12px;
    background: white;
}

.card {
    box-shadow: 0px 16px 30px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    background: white;
}

.card:hover {
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.3);
}

.cyber-about,
.cyber-contact {
    font-family: 'Courier New', monospace;
    color: #c9d1d9; /* GitHub dark text */
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.cyber-title {
    color: #58a6ff; /* security blue */
    margin-bottom: 4px;
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.cyber-title span {
    color: #3fb950; /* subtle terminal green */
}

.cyber-text {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #b1bac4;
}

.highlight {
    color: #8b949e; /* muted highlight */
    font-weight: 600;
}

.cyber-footer {
    margin-top: 12px;
}

.tag {
    display: inline-block;
    background: #0d1117; /* dark terminal */
    border: 1px solid #ffffff; /* terminal green */
    color: #ffffff;
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    transition: all 0.2s ease;
}

.tag:hover {
    color: #0d1117;
    background: #3fb950;
    box-shadow: 0 0 6px #3fb950;
    transform: translateY(-2px);
    cursor: pointer;
}

/* ===============================
   TERMINAL CONTACT
================================ */

.terminal-box {
    width: 100%;
    min-width: 250px;
    max-width: 100%;
    box-sizing: border-box;
    transition: none !important; 
    background: #0d1117;
    border: 1px solid #30363d;
    padding: 12px;
    border-radius: 6px;
}

.terminal-line {
    margin: 6px 0;
    font-size: 0.85rem;
    color: #c9d1d9;
}

.terminal-line i {
    color: #58a6ff;
    margin-right: 6px;
}

.terminal-line a {
    color: #58a6ff;
    text-decoration: none;
}

.terminal-line a:hover {
    text-decoration: underline;
}
.cyber-email-card {
    color: #58a6ff;
    font-family: 'Courier New', monospace;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cyber-email-card:hover {
    box-shadow: 0 0 10px #3fb950, 0 0 20px #3fb95080;
    transform: translateY(-2px);
}

.cyber-email-card a {
    color: #58a6ff;
    text-decoration: none;
    font-weight: 600;
}

.cyber-email-card a:hover {
    text-decoration: underline;
}
.cyber-email-card button {
    background: #0d1117;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-family: 'Courier New', monospace;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cyber-email-card button:hover {
    background: #0d1117;
    color: #ffffff;
    box-shadow: 0 0 6px #58a6ff;
}

/* =====================================
   Forgot Password Modal
======================================*/

#forgotPasswordModal .modal-content{
    border:none;
    border-radius:18px;
    overflow:hidden;
    box-shadow:
        0 20px 45px rgba(0,0,0,.22);
}

#forgotPasswordModal .modal-header{
    background:linear-gradient(135deg,#0d6efd,#3b82f6);
    color:#fff;
    padding:18px 24px;
}

#forgotPasswordModal .modal-title{
    font-weight:700;
    display:flex;
    align-items:center;
    gap:10px;
}

#forgotPasswordModal .modal-body{
    padding:32px;
    background:#fff;
}

#forgotPasswordModal .icon-circle{
    width:90px;
    height:90px;
    border-radius:50%;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef5ff;
}

#forgotPasswordModal .form-control{
    border-radius:12px;
    min-height:48px;
}

#forgotPasswordModal .input-group-text{
    border-radius:12px 0 0 12px;
}

html[dir="rtl"] #forgotPasswordModal .input-group-text{
    border-radius:0 12px 12px 0;
}

#forgotPasswordModal .btn{
    border-radius:12px;
    min-height:46px;
    font-weight:600;
    transition:.25s;
}

#forgotPasswordModal .btn:hover{
    transform:translateY(-2px);
}

#forgotPasswordModal .success-animation{
    animation:forgotScale .4s ease;
}

@keyframes forgotScale{

    from{

        transform:scale(.7);
        opacity:0;

    }

    to{

        transform:scale(1);
        opacity:1;

    }

}

#forgotPasswordModal .alert{
    border-radius:12px;
}

#forgotPasswordModal .spinner-border{
    width:3rem;
    height:3rem;
}

#forgotPasswordModal h6,
#forgotPasswordModal p{
    line-height:1.8;
}

/* Forgot Password Input Group */
#forgotPasswordModal .input-group {
    border-radius: 12px;
    overflow: hidden;
}

#forgotPasswordModal .input-group-text {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-inline-end: 0;
    border-radius: 0;
}

#forgotPasswordModal .form-control {
    border-radius: 0;
    border-inline-start: 0;
}

#forgotPasswordModal .form-control:focus {
    box-shadow: none;
}