.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;
}

.category-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-item {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #333;
}

.category-header:hover {
    background: #e9ecef;
}

.category-header.active {
    background: #007bff;
    color: white;
}

.category-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.category-header.active .category-arrow {
    transform: rotate(180deg);
}

.category-items {
    padding: 10px;
    background: white;
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.tshirt-option {
    display: flex;
    align-items: center;
	justify-content: center;
    padding: none;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
	min-height: 60px;
}

.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: 35px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.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-upload-container {
    margin-bottom: 15px;
}

.uploaded-logos {
    margin-top: 15px;
}

.uploaded-logos h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
}

.logo-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 8px;
    background: #f8f9fa;
}

.logo-item img {
    margin-right: 10px;
    border-radius: 4px;
}

.logo-item span {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.btn-remove-logo {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-remove-logo:hover {
    background: #c82333;
}

.logo-settings {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
}

.logo-settings h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
}

.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: #ff4735;
    color: white;
}

.btn-primary:hover {
    /*background: #222222;*/
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    /*background: #545b62;*/
    transform: translateY(-1px);
}

.btn-success {
    background: #ff4735;
    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;
    }
    
    .category-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .tshirt-option {
        min-height: 50px;
    }
    
	.tshirt-option img {
        width: 30px;
        height: 30px;
    }
	
    .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;
}

/* Top messages - fixed position at top of page */
.top-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 30px 0px 15px 0px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

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

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