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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2.5rem;
    color: #667eea;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info span {
    font-weight: 500;
    color: #2c3e50;
}

.btn-logout {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Auth Section */
/* Auth Section */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 0;
}

.auth-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 1200px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2) !important;
}

.tab-btn {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white !important;
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.3) !important;
    color: white !important;
}

.auth-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.forms-section .auth-tabs {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgb(37, 37, 37) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.form-group span {
    color: red;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: white;
}

.btn-primary {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: solid 1px rgba(255, 255, 255, 0.907);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    padding: 10px 20px;
    background: #f8f9fa;
    color: #495057;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

/* Auth Section Layout */
.auth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.forms-section {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* API Info Section */
.api-info-section {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 500px;
    padding: 20px 0;
}

.api-info-card {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    padding: 23px;
    border-radius: 25px;
}

.api-header {
    text-align: center;
    margin-bottom: 20px;
}

.api-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
}

.api-header h3 {
    color: white !important;
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.api-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0;
    font-size: 0.9rem;
}

.api-features {
    margin-bottom: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    color: white !important;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.feature-item i {
    width: 20px;
    margin-right: 10px;
    color: #4CAF50;
}

.api-description {
    margin-bottom: 20px;
}

.api-description p {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

.api-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-github, .btn-demo-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-github {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
}

.btn-github:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-demo-link {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.btn-demo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.btn-github i, .btn-demo-link i {
    margin-right: 5px;
}

.developer-credit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.developer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.developer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.developer-details {
    display: flex;
    flex-direction: column;
}

.developer-name {
    color: white !important;
    font-size: 0.9rem;
    font-weight: 600;
}

.developer-title {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.8rem;
}

.portfolio-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Dashboard */
.dashboard {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Cards */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-content p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Controls */
.controls {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.controls .btn-primary {
    width: auto;
    padding: 12px 24px;
}

.controls .btn-secondary {
    padding: 12px 20px;
}

/* Search */
.search-container {
    position: relative;
    margin-bottom: 30px;
}

.search-container input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-container i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.2rem;
}

/* Contacts */
.contacts-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contacts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f4;
}

.contacts-header h2 {
    color: #2c3e50;
    font-size: 1.5rem;
}

.contacts-count {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.contact-card {
    background: #f8f9fa;
    border: 2px solid #e1e8ed;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-actions {
    display: flex;
    gap: 5px;
}

.action-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.edit-btn {
    background: #3498db;
    color: white;
}

.edit-btn:hover {
    background: #2980b9;
}

.delete-btn {
    background: #e74c3c;
    color: white;
}

.delete-btn:hover {
    background: #c0392b;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 0.9rem;
}

.contact-detail i {
    width: 16px;
    color: #667eea;
}

.contact-date {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 0.75rem;
    color: #adb5bd;
    text-align: right;
    line-height: 1.3;
}

.contact-date i {
    margin-right: 5px;
    color: #667eea;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #f1f3f4;
}

.modal-header h2 {
    color: #2c3e50;
    font-size: 1.3rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.modal form {
    padding: 30px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.modal-actions .btn-secondary {
    width: auto;
}

.modal-actions .btn-primary {
    width: auto;
    padding: 12px 30px;
}

/* Notifications */
.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 350px;
    animation: notificationSlide 0.3s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes notificationSlide {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    border-left: 4px solid #27ae60;
}

.notification.error {
    border-left: 4px solid #e74c3c;
}

.notification.info {
    border-left: 4px solid #3498db;
}

.notification i {
    font-size: 1.2rem;
}

.notification.success i {
    color: #27ae60;
}

.notification.error i {
    color: #e74c3c;
}

.notification.info i {
    color: #3498db;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.notification-content p {
    font-size: 0.8rem;
    color: #6c757d;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    font-size: 1rem;
    padding: 2px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 0.9rem;
}

/* Demo Account Styling */
.demo-account {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%) !important;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.demo-account p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

.demo-account i {
    margin-right: 5px;
}

.btn-demo {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-demo:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-demo i {
    margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    
    .auth-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .auth-container {
        padding: 25px;
        margin: 0 10px;
        width: calc(100% - 20px);
        max-width: 700px;
    }
    
    .api-info-card {
        max-width: 100%;
    }
}

/* Tablet Styles */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px 20px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo i {
        font-size: 2rem;
    }
    
    .auth-container {
        padding: 10px;
        margin: 0 5px;
        width: calc(100% - 10px);
        max-width: 600px;
    }
    
    .auth-form {
        padding: 20px;
    }
    
    .auth-form h2 {
        font-size: 1.3rem;
    }
    
    .demo-account {
        padding: 12px;
    }
    
    .demo-account p {
        font-size: 0.85rem;
    }
    
    .btn-demo {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .form-group input {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .api-info-card {
        padding: 20px;
    }
    
    .api-header h3 {
        font-size: 1.3rem;
    }
    
    .api-subtitle {
        font-size: 0.85rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
    }
    
    .api-description p {
        font-size: 0.85rem;
    }
    
    .api-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-github, .btn-demo-link {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .developer-credit {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .developer-info {
        justify-content: center;
    }
    
    .developer-avatar {
        width: 35px;
        height: 35px;
    }
    
    .developer-name {
        font-size: 0.85rem;
    }
    
    .developer-title {
        font-size: 0.75rem;
    }
    
    .portfolio-link {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    /* Dashboard Responsive */
    .stats-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon i {
        font-size: 2rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    .controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .search-container {
        margin: 20px 0;
    }
    
    .search-container input {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .contact-name {
        font-size: 1.1rem;
    }
    
    .contact-info {
        font-size: 0.85rem;
    }
    
    .contact-actions {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-actions button {
        width: 100%;
        justify-content: center;
    }
    
    .contacts-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contacts-header h2 {
        font-size: 1.3rem;
    }
    
    /* Modal Responsive */
    .modal-content {
        width: 90%;
        max-width: 400px;
        margin: 20px auto;
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-actions button {
        width: 100%;
    }
}

/* Mobile Phone Styles */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 12px 15px;
        border-radius: 12px;
        margin-bottom: 20px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo i {
        font-size: 1.8rem;
    }
    
    .auth-section {
        padding: 20px 0;
    }
    
    .auth-container {
        padding: 0;
        padding-top: 10px;
        margin: 0 3px;
        border-radius: 15px;
        width: calc(100% - 6px);
        max-width: 500px;
    }
    
    .auth-form {
        padding: 15px;
    }
    
    .auth-form h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .demo-account {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .demo-account p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .btn-demo {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .form-group input {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .btn-primary {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .api-info-card {
        padding: 15px;
    }
    
    .api-logo {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .api-header h3 {
        font-size: 1.2rem;
    }
    
    .api-subtitle {
        font-size: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .feature-item i {
        width: 18px;
        margin-right: 8px;
    }
    
    .api-description p {
        font-size: 0.8rem;
    }
    
    .api-actions {
        gap: 5px;
    }
    
    .btn-github, .btn-demo-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .developer-avatar {
        width: 30px;
        height: 30px;
    }
    
    .developer-name {
        font-size: 0.8rem;
    }
    
    .developer-title {
        font-size: 0.7rem;
    }
    
    .portfolio-link {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    /* Dashboard Mobile */
    .stats-container {
        gap: 25px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-icon i {
        font-size: 1.5rem;
    }
    
    .stat-content h3 {
        font-size: 1.3rem;
    }
    
    .stat-content p {
        font-size: 0.85rem;
    }
    
    .controls {
        gap: 8px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .search-container {
        margin: 15px 0;
    }
    
    .search-container input {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .contacts-grid {
        gap: 10px;
    }
    
    .contact-card {
        padding: 12px;
    }
    
    .contact-name {
        font-size: 1rem;
    }
    
    .contact-info {
        font-size: 0.8rem;
    }
    
    .contact-date {
        font-size: 0.75rem;
    }
    
    .contact-actions button {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .contacts-header h2 {
        font-size: 1.2rem;
    }
    
    .contacts-count {
        font-size: 0.85rem;
    }
    
    /* Modal Mobile */
    .modal-content {
        width: 95%;
        max-width: 350px;
        margin: 15px auto;
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .close-btn {
        font-size: 1.5rem;
    }
    
    .form-group input {
        padding: 10px;
    }
    
    .modal-actions {
        gap: 8px;
    }
    
    .modal-actions button {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    /* Notifications Mobile */
    .notification {
        width: 95%;
        max-width: 350px;
        font-size: 0.85rem;
        padding: 10px 15px;
    }
}

/* Very Small Mobile */
@media (max-width: 360px) {
    .container {
        padding: 5px;
    }
    
    .header {
        padding: 10px 12px;
    }
    
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .auth-container {
        padding: 10px;
        margin: 0 2px;
        width: calc(100% - 4px);
        max-width: 400px;
    }
    
    .auth-form {
        padding: 10px;
    }
    
    .api-info-card {
        padding: 10px;
    }
    
    .modal-content {
        width: 98%;
        margin: 10px auto;
        padding: 10px;
    }
}