/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Page container */
.page-container {
    min-height: 100vh;
    background: linear-gradient(to bottom, #f6f8ff, #f3f6ff);
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    height: 2rem;
    width: 2rem;
    border-radius: 0.75rem;
}

.logo-text {
    font-weight: 600;
    color: #0f172a;
    font-size: 1.125rem;
    letter-spacing: 0.025em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: #0f172a;
}

/* Main content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.hero-section {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

/* Hero title */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(to right, #2563eb, #1d4ed8, #1e40af);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Input section */
.input-section {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    padding: 2rem;
    margin-bottom: 2rem;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 28rem;
    margin: 0 auto;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-prefix {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #64748b;
    font-weight: 500;
    pointer-events: none;
}

.username-input {
    width: 100%;
    padding: 1rem 1rem 1rem 5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.2s ease;
    height: 60px;
    font-size: 1rem;
}

.username-input:focus {
    outline: none;
    ring: 2px solid #3b82f6;
    border-color: transparent;
}

.claim-button {
    background: linear-gradient(to right, #2563eb, #1d4ed8, #1e40af);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.claim-button:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af, #1e3a8a);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Features section */
.features-section {
    text-align: center;
    margin-bottom: 3rem;
}

.features-intro {
    color: #475569;
    margin-bottom: 2rem;
}

.features-intro strong {
    color: #0f172a;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon.blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.feature-icon.green {
    background-color: #dcfce7;
    color: #16a34a;
}

.feature-icon.purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.feature-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: #475569;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 1rem;
}

.footer-text {
    font-size: 0.875rem;
    color: #64748b;
}

.footer-link {
    color: #2563eb;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* === STYLES POUR LA PAGE DE CONNEXION === */

/* Page de connexion */
.login-page {
    min-height: 100vh;
    background: linear-gradient(to bottom, #f6f8ff, #f3f6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-container {
    width: 100%;
    max-width: 28rem;
}

/* Header de connexion */
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.login-logo-icon {
    height: 3rem;
    width: 3rem;
    border-radius: 0.75rem;
}

.login-logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0f172a;
    letter-spacing: 0.025em;
}

.login-subtitle {
    color: #475569;
}

/* Conteneur du formulaire */
.login-form-container {
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Groupes de champs */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

/* Champs avec icônes */
.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 3rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: white;
    transition: all 0.2s ease;
    height: 50px;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #2563eb;
}

.form-input.error {
    border-color: #f87171;
    background-color: #fef2f2;
}

.password-input {
    padding-right: 3rem;
}

/* Toggle mot de passe */
.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #475569;
}

/* Messages d'erreur */
.error-message {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #dc2626;
    display: none;
}

.error-message.show {
    display: block;
}

/* Options du formulaire */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-input {
    height: 1rem;
    width: 1rem;
    color: #2563eb;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
}

.checkbox-input:focus {
    box-shadow: 0 0 0 2px #2563eb;
}

.checkbox-text {
    font-size: 0.875rem;
    color: #475569;
}

.forgot-password-link {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}

.forgot-password-link:hover {
    color: #1d4ed8;
}

/* Bouton de soumission */
.submit-button {
    width: 100%;
    background: linear-gradient(to right, #2563eb, #1d4ed8, #1e40af);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 50px;
    font-size: 1.125rem;
    margin-top: 15px;
    text-decoration: none;
}

.submit-button:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af, #1e3a8a);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Spinner de chargement */
.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Footer du formulaire */
.form-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
    color: #475569;
}

.switch-link {
    color: #2563eb;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}

.switch-link:hover {
    color: #1d4ed8;
}

/* Footer légal */
.legal-footer {
    margin-top: 2rem;
    text-align: center;
}

.legal-text {
    font-size: 0.75rem;
    color: #64748b;
}

.legal-link {
    color: #2563eb;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.legal-link:hover {
    text-decoration: underline;
}

/* === STYLES POUR LA PAGE D'INSCRIPTION === */

/* Page d'inscription */
.register-page {
    min-height: 100vh;
    background: linear-gradient(to bottom, #f6f8ff, #f3f6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.register-container {
    width: 100%;
    max-width: 28rem;
}

/* Header d'inscription */
.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.register-logo-icon {
    height: 3rem;
    width: 3rem;
    border-radius: 0.75rem;
}

.register-logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0f172a;
    letter-spacing: 0.025em;
}

.register-subtitle {
    color: #475569;
}

/* Conteneur du formulaire d'inscription */
.register-form-container {
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Conditions d'utilisation */
.terms-group {
    display: flex;
    align-items: flex-start;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.5;
}

.terms-checkbox {
    height: 1rem;
    width: 1rem;
    color: #2563eb;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.terms-checkbox:focus {
    box-shadow: 0 0 0 2px #2563eb;
}

.terms-text {
    font-size: 0.875rem;
    color: #475569;
}

.terms-link {
    color: #2563eb;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.terms-link:hover {
    text-decoration: underline;
}

/* === STYLES POUR LA PAGE MOT DE PASSE OUBLIÉ === */

/* Page mot de passe oublié */
.forgot-password-page {
    min-height: 100vh;
    background: linear-gradient(to bottom, #f6f8ff, #f3f6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.forgot-password-container {
    width: 100%;
    max-width: 28rem;
}

/* Header mot de passe oublié */
.forgot-password-header {
    text-align: center;
    margin-bottom: 2rem;
}

.forgot-password-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.forgot-password-logo-icon {
    height: 3rem;
    width: 3rem;
    border-radius: 0.75rem;
}

.forgot-password-logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0f172a;
    letter-spacing: 0.025em;
}

.forgot-password-subtitle {
    color: #475569;
}

/* Conteneur du formulaire de récupération */
.forgot-password-form-container {
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.forgot-password-intro {
    margin-bottom: 1.5rem;
}

.forgot-password-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.forgot-password-description {
    color: #475569;
    font-size: 0.875rem;
}

.reset-password-form {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.forgot-password-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Bouton retour */
.back-button {
    width: 100%;
    background: #f1f5f9;
    color: #475569;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.back-button:hover {
    background: #e2e8f0;
}

/* Message de confirmation */
.confirmation-container {
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    text-align: center;
}

.confirmation-content {
    margin-bottom: 1.5rem;
}

.confirmation-icon {
    color: #10b981;
    margin: 0 auto 1rem;
}

.confirmation-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.confirmation-description {
    color: #475569;
    margin-bottom: 1rem;
}

.confirmed-email {
    font-weight: 500;
    color: #0f172a;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: inline-block;
}

.confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.confirmation-note {
    font-size: 0.875rem;
    color: #475569;
}

/* Footer mot de passe oublié */
.forgot-password-footer {
    margin-top: 2rem;
    text-align: center;
}

.forgot-password-footer-text {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.footer-link-btn {
    color: #2563eb;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-link-btn:hover {
    text-decoration: underline;
}

.resend-note {
    font-size: 0.75rem;
    color: #64748b;
}

/* Dashboard Styles */
.dashboard-container {
    min-height: 100vh;
    background: linear-gradient(to bottom, #f0f9ff, #e0f2fe);
}

.dashboard-desktop {
    display: none;
    min-height: 100vh;
}

.dashboard-mobile {
    display: block;
    max-width: 28rem;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

.sidebar {
    width: 16rem;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 1.5rem;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.sidebar-logo:hover {
    background-color: #f8fafc;
}

.sidebar-logo img {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0.75rem;
}

.sidebar-logo-text {
    font-weight: 600;
    color: #0f172a;
    font-size: 1.125rem;
    letter-spacing: 0.025em;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem;
    padding-top: 0.5rem;
}

.nav-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.nav-item.active {
    background-color: #eff6ff;
    color: #2563eb;
}

.nav-item:not(.active) {
    color: #64748b;
}

.nav-item:not(.active):hover {
    background: linear-gradient(to right, #2563eb, #1d4ed8, #1e40af);
    color: white;
}

.sidebar-footer {
    padding: 1rem;
}

.add-content-btn {
    width: 100%;
    background: linear-gradient(to right, #2563eb, #1d4ed8, #1e40af);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.add-content-btn:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af, #1e3a8a);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 1rem 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.header-btn {
    padding: 0.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.header-btn:hover {
    background-color: #f1f5f9;
}

.user-menu-btn {
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, #2563eb, #1e40af);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.user-menu-btn:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.user-menu {
    position: absolute;
    right: 0;
    top: 2.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0;
    z-index: 50;
    min-width: 10rem;
}

.user-menu.hidden {
    display: none;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.user-menu-item:hover {
    background-color: #fef2f2;
}

.user-menu-item.logout:hover {
    background-color: #fef2f2;
}

.user-menu-item.logout:hover span {
    color: #dc2626;
}

.content-area {
    flex: 1;
    padding: 2rem;
}

.content-grid {
    display: flex;
    gap: 2rem;
    max-width: 80rem;
}

.links-section {
    flex: 1;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-card {
    background: white;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    transition: all 0.2s;
    cursor: move;
}

.link-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.link-icon {
    width: 3rem;
    height: 3rem;
    background-color: #f1f5f9;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-info {
    flex: 1;
    min-width: 0;
}

.link-title {
    font-weight: 500;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-url {
    font-size: 0.875rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.link-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-views {
    font-size: 0.875rem;
    color: #64748b;
    min-width: 1.25rem;
}

.toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.toggle-slider {
    width: 2.75rem;
    height: 1.5rem;
    background-color: #e2e8f0;
    border-radius: 9999px;
    position: relative;
    transition: all 0.2s;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: white;
    border-radius: 50%;
    height: 1.25rem;
    width: 1.25rem;
    transition: all 0.2s;
}

.toggle-input:checked + .toggle-slider {
    background-color: #2563eb;
}

.toggle-input:checked + .toggle-slider::after {
    transform: translateX(1.25rem);
}

.link-menu-btn {
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.link-menu-btn:hover {
    background-color: #f1f5f9;
}

.preview-section {
    width: 20rem;
    flex-shrink: 0;
}

.preview-sticky {
    position: sticky;
    top: 2rem;
}

.phone-mockup {
    background-color: #1e293b;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.phone-screen {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    height: 37.5rem;
    width: 17.5rem;
}

.phone-status {
    background: white;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.phone-time {
    color: #0f172a;
    font-weight: 500;
}

.phone-indicators {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.signal-dot {
    width: 0.25rem;
    height: 0.25rem;
    background-color: #0f172a;
    border-radius: 50%;
}

.signal-dot.weak {
    background-color: #cbd5e1;
}

.phone-profile {
    padding: 1rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

.phone-avatar {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(to bottom right, #fbbf24, #f97316);
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-username {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.phone-links {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 1rem;
}

.phone-link {
    background-color: #0f172a;
    color: white;
    border-radius: 9999px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.phone-link-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-link-text {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.phone-link-arrow {
    margin-left: auto;
}

/* Mobile Layout */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
}

.mobile-menu-btn {
    padding: 0.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn:hover {
    background-color: #f1f5f9;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-logo img {
    height: 2rem;
    width: 2rem;
    border-radius: 0.5rem;
}

.mobile-logo-text {
    font-weight: 600;
    color: #0f172a;
    font-size: 1.125rem;
}

.mobile-content {
    padding: 1rem;
    padding-bottom: 8rem;
}

.mobile-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-link-card {
    background: white;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    padding: 1rem;
}

.mobile-link-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-link-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #f1f5f9;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-link-info {
    flex: 1;
    min-width: 0;
}

.mobile-link-title {
    font-weight: 500;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
}

.mobile-link-url {
    font-size: 0.75rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
}

.tab-bar-content {
    display: flex;
    justify-content: center;
}

.tab-add-btn {
    background: linear-gradient(to right, #2563eb, #1d4ed8, #1e40af);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.tab-add-btn:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af, #1e3a8a);
}

/* Responsive design */
@media (min-width: 640px) {
    .input-container {
        flex-direction: row;
    }
    
    .login-form-container {
        padding: 2rem;
    }
    
    .register-form-container {
        padding: 2rem;
    }
    
    .forgot-password-form-container {
        padding: 2rem;
    }
    
    .confirmation-container {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
    
    .dashboard-desktop {
        display: flex;
    }
    
    .dashboard-mobile {
        display: none;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

.relative {
    position: relative;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}