.registration-page {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
}

.registration-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.registration-page h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.registration-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.registration-errors {
    background: #fee;
    border: 2px solid #f00;
    border-radius: 4px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(255,0,0,0.1);
}

.registration-errors strong {
    display: block;
    color: #c33;
    font-size: 16px;
    margin-bottom: 10px;
}

.error-message {
    color: #c33;
    margin: 5px 0;
    font-weight: 500;
    font-size: 14px;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-control {
    padding-right: 60px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #007bff !important;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    z-index: 10;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 40px;
    text-align: right;
}

.password-toggle:hover {
    color: #0056b3 !important;
}

.password-toggle:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
    border-radius: 2px;
}

.password-toggle .show-text {
    display: inline !important;
    visibility: visible !important;
}

.password-toggle .hide-text {
    visibility: visible !important;
}

.registration-form .form-group {
    margin-bottom: 20px;
}

.registration-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.required {
    color: #c33;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-primary:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.btn-large {
    width: 100%;
    padding: 14px;
    font-size: 18px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-footer a {
    color: #007bff;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}