/* Common Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    padding: 0; /* ❌ CHANGED FROM: padding: 0px; (was preventing proper layout) */
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    padding: 30px;
}

/* Typography */
hr {
	margin: 30px 0; 
	border: none; 
	border-top: 2px solid #ddd;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5em;
}

h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196F3;
    font-size: 1.8em;
}

h3 {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.3em;
}

p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

a {
    color: #2196F3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1976D2;
    text-decoration: underline;
}

ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
    color: #555;
}

/* Pictures */
.icon {
    vertical-align: middle;
}

.left-picture {
	float:left;
	margin:10px;
}

.right-picture {
	float:right; 
	margin:10px;
}

/* Buttons */
.auth-btn, .create-btn, .check-download-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.auth-btn {
    background: #2196F3;
    color: white;
}

.auth-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

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

.auth-btn.secondary:hover {
    background: #616161;
}

.create-btn {
    background: #4CAF50;
    color: white;
    font-size: 18px;
    display: block;
    margin: 20px auto;
}

.create-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.create-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.check-download-btn {
    background: #2196F3;
    color: white;
    font-size: 18px;
}

.check-download-btn:hover {
    background: #1976D2;
}

.add-btn, .remove-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin: 5px;
}

.add-btn {
    background: #4CAF50;
    color: white;
}

.remove-btn {
    background: #f44336;
    color: white;
}

.add-btn:hover {
    background: #45a049;
}

.remove-btn:hover {
    background: #da190b;
}

.copy-btn {
    padding: 10px 20px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #1976D2;
}

.copy-btn:active {
    background: #4CAF50;
}

/* Status Messages */
.status-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    animation: fadeIn 0.3s ease-in;
}

.status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Sections */
.section {
    margin-bottom: 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    background: #fafafa;
}

.auth-section {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

/* Form Elements */
.field-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.field-group label {
    min-width: 120px;
    font-weight: bold;
    color: #555;
}

.field-group input, .field-group select {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Error States */
.error {
    border-color: #f44336 !important;
    background-color: #ffebee !important;
}

.error-message {
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    .auth-btn, .create-btn, .check-download-btn {
        width: 100%;
        margin: 10px 0;
    }
}
