body {
    width: 350px;
    margin: 0;
    padding: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    color: #2c3e50;
    background: #ffffff;
    line-height: 1.6;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    min-height: 400px;
}

header {
    background: linear-gradient(135deg, #00585f 0%, rgba(0, 88, 95, 0.8) 100%);
    color: white;
    padding: 15px;
}

header h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.status {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.8;
}

main {
    padding: 20px;
    background: #fafafa;
}

.section {
    animation: fadeIn 0.3s ease-in;
}

.hidden {
    display: none;
}

.info {
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

.user-info span {
    font-weight: 500;
}

.btn-link {
    background: none;
    border: none;
    color: #00585f;
    cursor: pointer;
    text-decoration: underline;
    font-size: 12px;
}

.btn-link:hover {
    color: #006064;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.87);
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.38);
    border-radius: 4px;
    font-size: 14px;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-control:hover {
    border-color: rgba(0, 0, 0, 0.87);
}

.form-control:focus {
    outline: none;
    border-color: #00585f;
    border-width: 2px;
    padding: 9px 11px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0.025em;
    min-height: 36px;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.btn:hover {
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

.btn-primary {
    background: #00585f;
    color: white;
}

.btn-primary:hover {
    background: #006064;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-secondary {
    background: #424242;
    color: white;
}

.btn-secondary:hover {
    background: #303030;
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-block {
    width: 100%;
}

.button-group {
    display: flex;
    gap: 10px;
}

.button-group .btn {
    flex: 1;
}

.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.result {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    animation: slideIn 0.3s ease-out;
}

.result.success {
    background: #E8F5E9;
    color: #1B5E20;
    border: 1px solid #26A69A;
}

.result.error {
    background: #FFEBEE;
    color: #B71C1C;
    border: 1px solid #B00020;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

