/* --- Form --- */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* --- Action Cards --- */
.action-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.action-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background-color: #1B1B1B;
    border: 1px solid #3F444D;
    border-radius: 6px;
    width: 420px;
    gap: 12px;
}

.action-card-header {
    background-color: #2C2C2C;
    color: #FFF;
    padding: 10px 0;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    border-radius: 6px;
}

.action-card-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.action-card-button {
    flex: 1;
    background-color: #2C2C2C;
    border: 1px solid #474747;
    border-radius: 6px;
    padding: 7px 14px;
    font-family: 'Space Grotesk', sans-serif;
    color: #BBBBBB;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: center;
    text-decoration: none !important;
}

.action-card-button:hover {
    background-color: #373737;
    color: #dfdfdf;
    font-weight: 500;
    text-decoration: underline;
}

.action-card-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.action-card-footer a {
    color: #BBB;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

.action-card-footer a:hover {
    color: #FFF;
    text-decoration: underline;
}


/* --- Field Layout --- */
.field-label-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.field-icon-input {
    position: relative;
    display: flex;
    align-items: center;
}

.field-icon-input input {
    width: 100%;
}


/* --- Field Note --- */
.field-note {
    font-size: 12px;
    font-weight: 400;
    color: #B9BBBE;
    cursor: pointer;
}

.field-note:hover {
    text-decoration: underline;
}


/* --- Password Toggle --- */
.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    height: 100%;
}

.toggle-password i {
    font-size: 24px;
    line-height: 1;
    color: #737373;
    transition: color 0.3s ease;
}

.toggle-password:hover i {
    color: #FFF;
}


/* --- 2FA Code Inputs --- */
.twofa-code {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: space-evenly;
}

.code-input {
    width: 44px !important;
    height: 54px !important;
    text-align: center;
    font-size: 22px;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #1E1E1E;
    color: #fff;
}

.code-input:focus {
    border-color: #666;
    outline: none;
}


/* --- Discord Profile Card --- */
.discord-profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background-color: #2C2C2C;
    /* border: 1px solid #3F444D; */
    border-radius: 6px;
    padding: 10px 14px;
    color: #DDD;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
}

.discord-profile-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    /* background-color: #2C2C2C;
    border: 1px solid #3F444D;
    border-radius: 6px;
    padding: 10px 14px; */
    color: #DDD;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
}


/* --- Discord Avatar --- */
.discord-profile-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.discord-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.discord-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    background-color: #3BA55D;
    border: 2px solid #2C2C2C;
    border-radius: 50%;
}

.discord-indicator.offline {
    background-color: #7B7B7B;
}


/* --- Discord User Info --- */
.discord-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.discord-username {
    font-size: 14px;
    font-weight: 600;
    color: #FFF;
}

.discord-id {
    font-weight: 400;
    color: #999;
    font-size: 12px;
}


/* --- Discord Buttons --- */
.discord-button {
    font-size: 12px;
    position: relative;
    cursor: pointer;
    transition: color 0.2s ease;
    width: fit-content;
    font-family: inherit;
}

.discord-button.connect {
    color: #FFF;
}

.discord-button.connect:hover {
    text-decoration: underline;
}

.discord-button.status {
    color: #7EBE7E;
}

.discord-button.status::after {
    content: "Disconnect";
    color: #FF6B6B;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.discord-button.status:hover {
    color: transparent;
    cursor: pointer;
}

.discord-button.status:hover::after {
    opacity: 1;
}