/* Main CSS file for Japan Restaurant Guide v0.1 */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Form styles */
.form-control:focus {
    border-color: #495057;
    box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.25);
}

/* Restaurant card styles */
.restaurant-card {
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    height: 100%;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.restaurant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.restaurant-card:hover .restaurant-photo {
    transform: scale(1.05);
}

.restaurant-photo {
    height: 200px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

/* Rating stars */
.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Map styles */
#map {
    height: 80vh;
    width: 100%;
    border-radius: 0.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.map-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Restaurant detail page */
.restaurant-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0.25rem;
}

.restaurant-info {
    background-color: #fff;
    border-radius: 0.25rem;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Gallery styles */
.gallery-thumbnail {
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gallery-thumbnail:hover {
    opacity: 0.8;
}

/* Profile styles */
.profile-section {
    background-color: #fff;
    border-radius: 0.25rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Custom file upload styles */
.dropzone-wrapper {
    position: relative;
    width: 100%;
}

.dropzone {
    border: 2px dashed #dee2e6;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dropzone:hover, .dropzone.dragover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.dropzone-message {
    color: #6c757d;
}

.dropzone i {
    color: #6c757d;
}

.file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.preview-container {
    width: 100%;
}

#preview-image {
    max-width: 100%;
    max-height: 200px;
    margin-bottom: 10px;
    object-fit: contain;
    border-radius: 4px;
}

.preview-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

#file-name {
    font-size: 0.9rem;
    color: #6c757d;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 200px;
}