.reset-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.reset-header {
    margin-bottom: 30px;
    text-align: center;
}

.reset-header h1 {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 10px;
}

.reset-header p {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.4;
}

.reset-form {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

.safewords-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    width: 100%;
}

.safeword-col {
    flex: 1;
    min-width: 120px;
    width: calc(25% - 12px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #333333;
    background-color: #2a2a2a;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #4a90e2;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.reset-button {
    background-color: #4a90e2;
    color: var(--text_color);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reset-button:hover {
    background-color: #3a80d2;
}

.back-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #ffffff;
}

.status-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 16px;
}

.status-message.success {
    background-color: rgba(74, 226, 74, 0.1);
    color: #4ae24a;
    border: 1px solid rgba(74, 226, 74, 0.3);
}

.status-message.error {
    background-color: rgba(226, 74, 74, 0.1);
    color: #e24a4a;
    border: 1px solid rgba(226, 74, 74, 0.3);
}

.new-safewords {
    background-color: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.new-safewords h3 {
    color: #4a90e2;
    font-size: 18px;
    margin-bottom: 15px;
}

.new-safewords p {
    color: #a0a0a0;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.safewords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.safeword {
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 16px;
    font-family: monospace;
    letter-spacing: 1px;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}

.auth_container {
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    min-width: 380px;
    max-width: 380px;
    margin: 40px auto;
    text-align: center;
    box-sizing: border-box;
}

.auth_container h1 {
    font-size: 24px;
    margin: 0 0 5px 0;
}

.auth_container p {
    color: #8a8a8a;
    font-size: 14px;
}

.auth_form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form_group {
    position: relative;
}

.form_group input {
    width: 100%;
    padding: 12px 15px;
    background-color: #2a2a2a;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    transition: background-color 0.3s ease;
}

.form_group input:focus {
    outline: none;
    background-color: #333;
}

.auth_button {
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

.auth_button:hover {
    background-color: #0052cc;
}

.auth_button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.error_message {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.aut_input {
    width: 100%;
    max-height: 40px;
    font-size: 14px;
    border-radius: 8px;
    outline: none;
    border: 2px solid transparent;
    color: var(--text_color);
    padding: 10px 15px;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    margin-top: -4px;
    text-align: left;
}

.aut_input:focus {
    box-shadow: 0 6px 20px rgba(109, 58, 255, 0.3);
    border-color: transparent;
    outline: none;
}

.auth_description {
    color: #8a8a8a;
    margin-top: 0px;
    margin-bottom: 14px;
}

.auth_label {
    font-size: 15px;
    margin-bottom: 8px;
    margin-top: 10px;
    text-align: left;
}

.auth_input::placeholder {
    color: #8a8a8a;
}

.auth_link {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #8a8a8a;
}

.auth_link a {
    color: var(--text_color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth_link a:hover {
    color: #ccc;
    text-decoration: underline;
}

.auth_error {
    padding: 10px;
    margin-bottom: 15px;
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 3px solid #ff3a3a;
    color: #ff3a3a;
    font-size: 14px;
}

.auth_success {
    padding: 10px;
    margin-bottom: 15px;
    background-color: rgba(0, 255, 0, 0.1);
    border-left: 3px solid #3aff3a;
    color: #3aff3a;
    font-size: 14px;
}

.password-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.forgot-password {
    color: #8a8a8a;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.3s ease;
    margin-top: 3px;
}

.forgot-password:hover {
    color: var(--text_color);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .safewords-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .safeword-col {
        width: 100%;
        flex: 0 0 100%;
    }

    .form-actions {
        flex-direction: column;
        gap: 15px;
    }

    .form-actions .reset-button {
        width: 100%;
        order: 1;
    }

    .form-actions .back-link {
        order: 2;
    }
}

@media (max-width: 767px) {
    .safeword-col {
        width: calc(50% - 8px);
        flex: 0 0 calc(50% - 8px);
    }
    
    .auth_container {
        padding: 25px;
    }
}