/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

/* Container styles */
.container {
    background: #2d3748;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    margin: 1rem;
    border: 1px solid #4a5568;
}

/* Profile page container - responsive and wider */
.profile-container {
    background: #2d3748;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    width: 100%;
    margin: 1rem auto;
    /* Responsive max-width based on screen size */
    max-width: 800px;
    border: 1px solid #4a5568;
}

/* Responsive breakpoints for profile container */
@media (min-width: 1200px) {
    .profile-container {
        max-width: 900px;
    }
}

@media (min-width: 1400px) {
    .profile-container {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .profile-container {
        max-width: 95%;
        padding: 1.5rem;
        margin: 0.5rem;
    }
}

/* Dashboard container - responsive and wider */
.dashboard-container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 1rem;
}

/* Responsive dashboard breakpoints */
@media (min-width: 1400px) {
    .dashboard-container {
        max-width: 1400px;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        max-width: 95%;
        padding: 0 0.5rem;
    }
}

/* Typography */
h1 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #4a5568;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #1a1a1a;
    color: #ffffff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Button styles */
.btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #4a5568;
    color: #ffffff;
    border: 2px solid #718096;
}

.btn-secondary:hover {
    background: #2d3748;
    border-color: #a0aec0;
}

.btn-danger {
    background: #e53e3e;
    color: white;
}

.btn-danger:hover {
    background: #c53030;
    transform: translateY(-2px);
}

/* Link styles */
.link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Message styles */
.message {
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background: #22543d;
    color: #9ae6b4;
    border: 1px solid #38a169;
}

.message.error {
    background: #742a2a;
    color: #fed7d7;
    border: 1px solid #e53e3e;
}

.message.info {
    background: #2a4365;
    color: #bee3f8;
    border: 1px solid #3182ce;
}

/* Dashboard specific styles */
.user-info {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
    border: 1px solid #4a5568;
}

.user-info h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.user-info p {
    color: #e2e8f0;
    margin-bottom: 0.25rem;
}

/* Navigation */
.nav {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.nav .btn {
    width: auto;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Disabled state */
.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive design */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .nav {
        flex-direction: column;
    }
    
    .nav .btn {
        width: 100%;
    }
}

/* Loading state */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Smooth transitions */
.container,
.btn,
input {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
.btn:focus,
input:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
} 