/* Mobile-specific styles for creator.php */

/* Large Mobile/Tablet Styles (1024px and below) */
@media (max-width: 1024px) {
    /* General touch improvements */
    .creator-dashboard button,
    .creator-dashboard a.btn,
    .dashboard-nav a,
    .form-group input,
    .form-group select,
    .form-group textarea {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
    
    /* Optimize scrolling */
    html, body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Creator dashboard adjustments */
    .creator-dashboard {
        padding: 30px 0;
    }
    
    .dashboard-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .dashboard-content {
        gap: 20px;
    }
    
    .dashboard-sidebar {
        flex: 0 0 240px;
    }
    
    .creator-profile-card {
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .profile-avatar {
        font-size: 50px;
        margin-bottom: 12px;
    }
    
    .profile-info h2 {
        font-size: 1.3rem;
    }
    
    .content-card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .movies-table th, 
    .movies-table td {
        padding: 10px;
    }
}

/* Medium Mobile Styles (768px and below) */
@media (max-width: 768px) {
    .creator-dashboard {
        padding: 20px 0;
    }
    
    .dashboard-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .dashboard-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .dashboard-sidebar {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .creator-profile-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 6px;
    }
    
    .profile-avatar {
        font-size: 40px;
        width: 60px;
        height: 60px;
        margin: 0 15px 0 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .profile-info h2 {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .profile-info p {
        font-size: 0.9rem;
        margin: 0;
    }
    
    .dashboard-main {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .content-card {
        padding: 15px;
        border-radius: 6px;
    }
    
    /* Movies header adjustments */
    .movies-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .movies-header h3 {
        font-size: 1.1rem;
        margin: 0;
    }
    
    .dashboard-actions .btn {
        padding: 8px 12px;
    }
    
    /* Table adjustments */
    .movies-table {
        display: block;
        overflow-x: auto;
    }
    
    .movies-table th, 
    .movies-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    /* Make the title column wider */
    .movies-table td:nth-child(2) {
        min-width: 150px;
        width: 30%;
    }
    
    .movie-thumbnail {
        width: 80px;
        height: 60px;
        padding: 0 !important;
    }
    
    .movie-thumbnail a {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .movie-thumbnail img {
        width: 75px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .movie-thumbnail img:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .movie-actions .btn {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
    
    /* Alert styling */
    .alert {
        padding: 12px;
        margin-bottom: 15px;
        border-radius: 6px;
    }
    
    /* Empty state adjustments */
    .empty-state {
        padding: 30px 15px;
    }
    
    .empty-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    .empty-state p {
        margin-bottom: 15px;
    }
    
    /* Modal adjustments */
    .movie-modal-content {
        width: 90%;
        max-width: 500px;
        padding: 15px;
    }
}

/* Small Mobile Styles (576px and below) */
@media (max-width: 576px) {
    .creator-dashboard {
        padding: 15px 0;
    }
    
    .dashboard-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .creator-profile-card {
        padding: 12px;
        border-radius: 5px;
    }
    
    .profile-avatar {
        font-size: 30px;
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
    
    .profile-info h2 {
        font-size: 1.1rem;
    }
    
    .profile-info p {
        font-size: 0.85rem;
    }
    
    .content-card {
        padding: 12px;
        border-radius: 5px;
    }
    
    /* Movies header adjustments */
    .movies-header {
        margin-bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .movies-header h3 {
        font-size: 1.05rem;
    }
    
    .dashboard-actions .btn {
        width: 100%;
        text-align: center;
        padding: 8px;
    }
    
    /* Form adjustments */
    .profile-form label {
        font-size: 0.9rem;
    }
    
    .profile-form input[type="text"],
    .profile-form input[type="email"],
    .profile-form input[type="password"],
    .profile-form select,
    .profile-form textarea {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .form-hint {
        font-size: 0.75rem;
    }
    
    /* Alert styling */
    .alert {
        padding: 10px;
        margin-bottom: 12px;
        font-size: 0.85rem;
    }
    
    /* Empty state adjustments */
    .empty-state {
        padding: 25px 10px;
    }
    
    .empty-icon {
        font-size: 35px;
        margin-bottom: 10px;
    }
    
    .empty-state p {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }
    
    .empty-state .btn {
        width: 100%;
    }
    
    /* Table adjustments */
    .movies-table th, 
    .movies-table td {
        padding: 6px;
        font-size: 0.8rem;
    }
    
    /* Make the title column wider */
    .movies-table td:nth-child(2) {
        min-width: 120px;
        width: 30%;
    }
    
    .movie-thumbnail {
        width: 70px;
        height: 50px;
        padding: 0 !important;
    }
    
    .movie-thumbnail a {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .movie-thumbnail img {
        width: 65px;
        height: 50px;
        object-fit: cover;
        border-radius: 4px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .movie-thumbnail img:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .movie-actions .btn {
        padding: 4px 6px;
        font-size: 0.75rem;
    }
    
    /* Modal adjustments */
    .movie-modal-content {
        width: 95%;
        padding: 12px;
    }
} 