.tshirt-designer-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tshirt-menu {
    width: 250px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-right: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tshirt-menu h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

.tshirt-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tshirt-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.tshirt-option:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.2);
}

.tshirt-option.selected {
    border-color: #007bff;
    background: #e3f2fd;
}

.tshirt-option img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.tshirt-option span {
    font-weight: 500;
    color: #333;
}

.design-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tshirt-preview {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

#tshirt-image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

#design-canvas {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

#selected-tshirt {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
}

#logo-container {
    position: absolute;
    cursor: move;
    border: 2px dashed #007bff;
    border-radius: 4px;
    background: rgba(0,123,255,0.1);
}

#logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.design-controls {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.upload-section, .logo-controls {
    margin-bottom: 20px;
}

.upload-section h4, .logo-controls h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.logo-controls label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #555;
}

.logo-controls input[type="number"] {
    width: 100px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #1e7e34;
    transform: translateY(-1px);
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 8px;
    width: 400px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

#email-form label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
    color: #333;
}

#email-form input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
}

/* Responsive design */
@media (max-width: 768px) {
    .tshirt-designer-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .tshirt-menu {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .tshirt-options {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .tshirt-option {
        min-width: 120px;
        flex-shrink: 0;
    }
    
    .modal-content {
        width: 90%;
        margin: 10% auto;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error messages */
.message {
    padding: 10px 15px;
    border-radius: 4px;
    margin: 10px 0;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
} 